index a4297041048e8c1a8c9c140798e033b7db56a5ef..262ba33c6526c91212b05d81fdb4fda30607c767 100644 (file)
if (ShotTarget > 0) and (ShotTarget < $FFFF) then
ShotTargetW := ShotTarget;
- lua_pushinteger(L, tr_SpawnShot(ShotType, wx, wy, dx, dy, not Silent, ShotTargetW, DWORD(-1)));
+ lua_pushinteger(L, tr_SpawnShot(ShotType, wx, wy, dx, dy, not Silent, ShotTargetW));
end;
function SP_Lua_SpawnEffect(L: PScriptContext): Integer; cdecl;