- fixed: ACS's LineAttack function with a valid tid still used the activator as the attack's source.

This commit is contained in:
Christoph Oelckers 2014-07-13 09:12:46 +02:00
parent e1130b860e
commit 400a573e65

View file

@ -5105,7 +5105,7 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args, const
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);
}
}
}