summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_bsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl1/tr_bsp.c')
-rw-r--r--src/renderergl1/tr_bsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl1/tr_bsp.c b/src/renderergl1/tr_bsp.c
index bccc2ba2..bf4c7e31 100644
--- a/src/renderergl1/tr_bsp.c
+++ b/src/renderergl1/tr_bsp.c
@@ -1777,7 +1777,7 @@ qboolean R_GetEntityToken( char *buffer, int size ) {
s = COM_Parse( &s_worldData.entityParsePoint );
Q_strncpyz( buffer, s, size );
- if ( !s_worldData.entityParsePoint || !s[0] ) {
+ if ( !s_worldData.entityParsePoint && !s[0] ) {
s_worldData.entityParsePoint = s_worldData.entityString;
return qfalse;
} else {