mirror of
https://github.com/halpz/re3.git
synced 2025-07-27 08:22:47 +00:00
CClumpModelInfo; little fixes
This commit is contained in:
@ -806,7 +806,7 @@ CPlane::LoadPath(char const *filename, int32 &numNodes, float &totalLength, bool
|
||||
|
||||
for(i = 0; i < numNodes; i++){
|
||||
*gString = '\0';
|
||||
for(lp = 0; work_buff[bp] != '\n'; bp++, lp++)
|
||||
for(lp = 0; work_buff[bp] != '\n' && work_buff[bp] != '\0'; bp++, lp++)
|
||||
gString[lp] = work_buff[bp];
|
||||
bp++;
|
||||
// BUG: game doesn't terminate string
|
||||
|
Reference in New Issue
Block a user