mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 02:00:35 +00:00
Fix use of strncmp
This commit is contained in:
parent
687ff4bdbb
commit
b12eef1d56
13 changed files with 99 additions and 77 deletions
|
@ -115,7 +115,7 @@ cHandlingDataMgr::LoadHandlingData(void)
|
|||
end = start+1;
|
||||
|
||||
// yeah, this is kinda crappy
|
||||
if(strncmp(line, ";the end", 9) == 0)
|
||||
if(strcmp(line, ";the end") == 0)
|
||||
keepGoing = 0;
|
||||
else if(line[0] != ';'){
|
||||
field = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue