Fix r5498 so that projectiles actually do not hit their owner during their first tic of movement.

Clear the hitscan bit instead of blocking bit because Proj_MoveCustom uses CLIPMASK1.

git-svn-id: https://svn.eduke32.com/eduke32@6082 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-03-20 20:30:04 +00:00
parent af66b8a99f
commit 3e64f08cd1

View file

@ -2778,7 +2778,7 @@ ACTOR_STATIC void Proj_MoveCustom(int spriteNum)
if (!projectileMoved && (unsigned)pSprite->owner < MAXSPRITES)
{
backupCstat = sprite[pSprite->owner].cstat;
sprite[pSprite->owner].cstat &= (uint16_t)~CSTAT_SPRITE_BLOCK;
sprite[pSprite->owner].cstat &= (uint16_t)~CSTAT_SPRITE_BLOCK_HITSCAN;
}
do