summaryrefslogtreecommitdiff
path: root/source/sv_init.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-08-31 20:40:32 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-08-31 20:40:32 +0000
commit0fffe70186596ec16a92733971283557f5fa3a7b (patch)
tree3e0c318376b675fbc1a1aabd38834c5ce742f050 /source/sv_init.c
parent6652492da8c4a6e95dff6c7460a1ff63b4729a15 (diff)
Fixed a crash when ‘map_override_path’ is in use.
Made external entity string loading more verbose.
Diffstat (limited to 'source/sv_init.c')
-rw-r--r--source/sv_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sv_init.c b/source/sv_init.c
index 59e58ee..9c19b01 100644
--- a/source/sv_init.c
+++ b/source/sv_init.c
@@ -338,7 +338,7 @@ void SV_Map (const char *levelstring, qboolean restart) {
Q_concat( expanded, sizeof( expanded ), "maps/", level, ".bsp", NULL );
ret = CM_LoadMap( &cm, expanded );
- if( ret < 0 ) {
+ if( ret ) {
Com_Printf( "Couldn't load %s: %s\n", expanded, Q_ErrorString( ret ) );
return;
}