DEADSOFTWARE

make turret explosions ignore the turret trigger
[d2df-sdl.git] / src / game / g_scriptprocs.pas
index 262ba33c6526c91212b05d81fdb4fda30607c767..a4297041048e8c1a8c9c140798e033b7db56a5ef 100644 (file)
@@ -1134,7 +1134,7 @@ begin
   if (ShotTarget > 0) and (ShotTarget < $FFFF) then
     ShotTargetW := ShotTarget;
 
-  lua_pushinteger(L, tr_SpawnShot(ShotType, wx, wy, dx, dy, not Silent, ShotTargetW));
+  lua_pushinteger(L, tr_SpawnShot(ShotType, wx, wy, dx, dy, not Silent, ShotTargetW, DWORD(-1)));
 end;
 
 function SP_Lua_SpawnEffect(L: PScriptContext): Integer; cdecl;