X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sv_phys.c;h=24b17ef7bd77dfe0423eec84a8967acbb3f0fbc8;hb=4b6ab484da23438ad2afb0fc75a739400907cbb8;hp=d46cef4539fd037f0a486aa0c676d9ac17ef52a2;hpb=19a3a38b1c030720d375f0861b747ab219c0e9ea;p=xonotic%2Fdarkplaces.git diff --git a/sv_phys.c b/sv_phys.c index d46cef45..24b17ef7 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -2035,7 +2035,8 @@ void SV_Physics_Toss (prvm_edict_t *ent) // and groundentity is now freed, set groundentity to 0 (world) // which leaves it suspended in the air ent->fields.server->groundentity = 0; - return; + if (sv_gameplayfix_noairborncorpse_allowsuspendeditems.integer) + return; } } ent->priv.server->suspendedinairflag = false;