more fixes

This commit is contained in:
Walter Julius Hennecke 2013-05-24 22:46:35 +02:00
parent 0280e4d242
commit e5064f3bfa

View file

@ -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;
}