mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-22 17:00:53 +00:00
more fixes
This commit is contained in:
parent
0280e4d242
commit
e5064f3bfa
1 changed files with 3 additions and 3 deletions
|
@ -1231,7 +1231,7 @@ static void G_LoadMapChangeFile(void) {
|
|||
|
||||
while(qtrue) {
|
||||
token = COM_Parse(&txtPtr);
|
||||
if(token[0] == 0) {
|
||||
if(token == NULL || token[0] == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1245,7 +1245,7 @@ static void G_LoadMapChangeFile(void) {
|
|||
|
||||
while(Q_strncmp(token, "}", 1) != 0) {
|
||||
token = COM_Parse(&txtPtr);
|
||||
if(token[0] == 0) {
|
||||
if(token == NULL || token[0] == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1259,7 +1259,7 @@ static void G_LoadMapChangeFile(void) {
|
|||
|
||||
token = COM_Parse(&txtPtr);
|
||||
while(Q_strncmp(token, "]", 1) != 0) {
|
||||
if(token[0] == 0) {
|
||||
if(token == NULL || token[0] == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue