- restrict RealGibs for players only

All non-players will now always act as if the ‚corpsegibs‘ flag was set, regardless of the current setting.
This commit is contained in:
Christoph Oelckers 2022-04-29 00:24:47 +02:00
parent 519ecbe8eb
commit de0fcc3b6c

View file

@ -1188,7 +1188,6 @@ bool AActor::Grind(bool items)
// see rh_log entry for February 21, 1999. Don't know if it is still relevant.
if (state == NULL // Only use the default crushed state if:
&& !(flags & MF_NOBLOOD) // 1. the monster bleeeds,
&& (Level->i_compatflags & COMPATF_CORPSEGIBS) // 2. the compat setting is on,
&& player == NULL) // 3. and the thing isn't a player.
{
isgeneric = true;