mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- SW: fixed user spawned for wrong actor.
This commit is contained in:
parent
3ec904d5c0
commit
d1c6c783a6
1 changed files with 2 additions and 2 deletions
|
@ -11174,13 +11174,13 @@ int DoFireball(DSWActor* actor)
|
|||
SPRITEp hsp;
|
||||
USERp hu;
|
||||
|
||||
hsp = &u->coll.actor->s();
|
||||
hsp = &u->coll.actor->s(); // hitActor
|
||||
hu = u->coll.actor->u();
|
||||
|
||||
if (TEST(hsp->extra, SPRX_BURNABLE))
|
||||
{
|
||||
if (!hu)
|
||||
hu = SpawnUser(actor, hsp->picnum, nullptr);
|
||||
hu = SpawnUser(u->coll.actor, hsp->picnum, nullptr);
|
||||
SpawnFireballFlames(actor, u->coll.actor);
|
||||
hit_burn = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue