Fixed wrong SVF flags

This commit is contained in:
smallmodel 2023-08-28 22:13:16 +02:00
parent 8c1145bb9f
commit 296249b203
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
3 changed files with 13 additions and 16 deletions

View file

@ -2567,7 +2567,7 @@ Actor::Actor()
}
edict->s.eType = ET_MODELANIM;
edict->r.svFlags |= SVF_USE_CURRENT_ORIGIN;
edict->r.svFlags |= SVF_MONSTER;
edict->r.ownerNum = ENTITYNUM_NONE;
edict->clipmask = MASK_MONSTERSOLID;
setMoveType( MOVETYPE_WALK );
@ -14460,7 +14460,7 @@ void Actor::BecomeCorpse
AddToBodyQue();
edict->r.contents = CONTENTS_TRIGGER;
edict->r.svFlags &= ~SVF_USE_CURRENT_ORIGIN;
edict->r.svFlags &= ~SVF_MONSTER;
setSolidType(SOLID_NOT);
movetype = MOVETYPE_NONE;
edict->s.renderfx &= ~RF_SHADOW;