mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- several u->ret replaced.
This commit is contained in:
parent
05a812f066
commit
f888375e2a
1 changed files with 9 additions and 9 deletions
|
@ -9504,7 +9504,7 @@ int DoBoltThinMan(DSWActor* actor)
|
|||
if (TEST(u->Flags, SPR_SUICIDE))
|
||||
return true;
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9529,7 +9529,7 @@ int DoTracer(DSWActor* actor)
|
|||
|
||||
MissileHitDiveArea(actor);
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9567,7 +9567,7 @@ int DoEMP(DSWActor* actor)
|
|||
sp->yrepeat = 38;
|
||||
}
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9643,7 +9643,7 @@ int DoTankShell(DSWActor* actor)
|
|||
|
||||
MissileHitDiveArea(actor);
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9665,7 +9665,7 @@ int DoTracerStart(DSWActor* actor)
|
|||
|
||||
MissileHitDiveArea(actor);
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9694,7 +9694,7 @@ int DoLaser(DSWActor* actor)
|
|||
|
||||
MissileHitDiveArea(actor);
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9845,7 +9845,7 @@ int DoRailStart(DSWActor* actor)
|
|||
|
||||
MissileHitDiveArea(actor);
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()))
|
||||
{
|
||||
|
@ -9889,9 +9889,9 @@ int DoRocket(DSWActor* actor)
|
|||
if (TEST(u->Flags, SPR_SUICIDE))
|
||||
return true;
|
||||
|
||||
if (u->ret)
|
||||
if (u->coll.type != kHitNone)
|
||||
{
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()) && u->ret)
|
||||
if (WeaponMoveHit(actor->GetSpriteIndex()) && u->coll.type != kHitNone)
|
||||
{
|
||||
if (u->ID == BOLT_THINMAN_R4)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue