Don't use CV_StealthSetValue on cv_itemfinder if running the game in dedicated mode
This commit is contained in:
1 parent
7848e9f42b
commit
3fb12cf337
1 file changed
+2
-1
+2
-1
@@ -3588,7 +3588,8 @@ void G_InitNew(UINT8 pultmode, const char *mapname, boolean resetplayer, boolean
|
||||
unlocktriggers = 0;
|
||||
|
||||
// clear itemfinder, just in case
|
||||
CV_StealthSetValue(&cv_itemfinder, 0);
|
||||
if (!dedicated) // except in dedicated servers, where it is not registered and can actually I_Error debug builds
|
||||
CV_StealthSetValue(&cv_itemfinder, 0);
|
||||
}
|
||||
|
||||
// internal game map
|
||||
|
||||
Reference in new issue
Block a user