Merge branch 'dedicated-debug-hotfix' into 'master'

Dedicated debug hotfix

See merge request STJr/SRB2!239
This commit is contained in:
Monster Iestyn 2018-04-21 16:13:38 -04:00
commit 48a85512a0
1 changed files with 2 additions and 1 deletions

View File

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