SERVER: Fix NZ:P Beta spawn points being in the floor sometimes

This commit is contained in:
cypress 2023-12-30 11:26:41 -05:00
parent c8989aa40c
commit 8c01945f1b

View file

@ -269,7 +269,11 @@ void(entity which) Spawns_SetUpPoint =
{ {
which.solid = SOLID_BBOX; which.solid = SOLID_BBOX;
setsize(which, [-8, -8, -32], [8, 8, 40]); setsize(which, [-8, -8, -32], [8, 8, 40]);
Spawns_DropToFloor(which);
// NZ:P Beta was pretty relaxed when it came to spawn validity..
// so doing this causes breakage on maps like Ankunft.
if (map_compatibility_mode != MAP_COMPAT_BETA)
Spawns_DropToFloor(which);
if (!which.weapon) { if (!which.weapon) {
which.weapon = SPAWN_START_WEAPON; which.weapon = SPAWN_START_WEAPON;