mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-23 17:31:14 +00:00
- use names instead of strings with FindActor.
This commit is contained in:
parent
cb8137c32b
commit
712ed44e94
1 changed files with 4 additions and 4 deletions
|
@ -192,10 +192,10 @@ void checkhitdefault_r(DDukeActor* targ, DDukeActor* proj)
|
|||
if (Owner && Owner->isPlayer() && targ->spr.picnum != RTILE_DRONE)
|
||||
if (ps[Owner->PlayerIndex()].curr_weapon == SHOTGUN_WEAPON)
|
||||
{
|
||||
shoot(targ, -1, PClass::FindActor("DukeBloodSplat3"));
|
||||
shoot(targ, -1, PClass::FindActor("DukeBloodSplat1"));
|
||||
shoot(targ, -1, PClass::FindActor("DukeBloodSplat2"));
|
||||
shoot(targ, -1, PClass::FindActor("DukeBloodSplat4"));
|
||||
shoot(targ, -1, PClass::FindActor(NAME_DukeBloodSplat3));
|
||||
shoot(targ, -1, PClass::FindActor(NAME_DukeBloodSplat1));
|
||||
shoot(targ, -1, PClass::FindActor(NAME_DukeBloodSplat2));
|
||||
shoot(targ, -1, PClass::FindActor(NAME_DukeBloodSplat4));
|
||||
}
|
||||
|
||||
if (targ->spr.statnum == STAT_ZOMBIEACTOR)
|
||||
|
|
Loading…
Reference in a new issue