mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
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:
parent
af66b8a99f
commit
3e64f08cd1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue