forked from kyonshi/grenzland-mud
547c7ddccf42fb17a26f2b0e84dbb908d63e451a
This corrects an issue encountered when loading world information on the Raspberry Pi. Sometimes, there is a ~ stored in the memory location in front of tmp char array. The for loop will decrement below the starting memory address, making it read the ~ and think it's at the end of the room, causing an error and preventing the MUD from loading. This change checks the memory address of tmp, ensuring it is > the starting memory address before decrementing it in the for() loop. Then, the if/else checks to ensure the carriage return and newline are properly placed to prevent duplication.
Files for tbaMUD.
Description
Languages
C
72.8%
PLSQL
23.2%
Jupyter Notebook
2.3%
CMake
0.6%
DIGITAL Command Language
0.3%
Other
0.7%