mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Disable item respawn in NiGHTs levels
This commit is contained in:
parent
cccf1c8a7b
commit
18dc6013ed
1 changed files with 1 additions and 0 deletions
|
@ -11011,6 +11011,7 @@ void P_RespawnSpecials(void)
|
||||||
|
|
||||||
// only respawn items when cv_itemrespawn is on
|
// only respawn items when cv_itemrespawn is on
|
||||||
if (!(netgame || multiplayer) // Never respawn in single player
|
if (!(netgame || multiplayer) // Never respawn in single player
|
||||||
|
|| (maptol & TOL_NIGHTS) // Never respawn in NiGHTs
|
||||||
|| !cv_itemrespawn.value) // cvar is turned off
|
|| !cv_itemrespawn.value) // cvar is turned off
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue