mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-21 19:32:21 +00:00
SERVER: Fix NZ:P Beta spawn points being in the floor sometimes
This commit is contained in:
parent
c8989aa40c
commit
8c01945f1b
1 changed files with 5 additions and 1 deletions
|
@ -269,7 +269,11 @@ void(entity which) Spawns_SetUpPoint =
|
|||
{
|
||||
which.solid = SOLID_BBOX;
|
||||
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) {
|
||||
which.weapon = SPAWN_START_WEAPON;
|
||||
|
|
Loading…
Reference in a new issue