mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: ACS's LineAttack function with a valid tid still used the activator as the attack's source.
This commit is contained in:
parent
e1130b860e
commit
400a573e65
1 changed files with 1 additions and 1 deletions
|
@ -5105,7 +5105,7 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args, const
|
||||||
|
|
||||||
while ((source = it.Next()) != NULL)
|
while ((source = it.Next()) != NULL)
|
||||||
{
|
{
|
||||||
P_LineAttack(activator, angle, range, pitch, damage, damagetype, pufftype, fhflags);
|
P_LineAttack(source, angle, range, pitch, damage, damagetype, pufftype, fhflags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue