X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_scriptprocs.pas;h=a4297041048e8c1a8c9c140798e033b7db56a5ef;hp=262ba33c6526c91212b05d81fdb4fda30607c767;hb=00c73a7e4b162b8adb061e4b4715ee35ba9a2df5;hpb=cde2fe32ea377e5a5b2582ab689ce666e19f41b0 diff --git a/src/game/g_scriptprocs.pas b/src/game/g_scriptprocs.pas index 262ba33..a429704 100644 --- a/src/game/g_scriptprocs.pas +++ b/src/game/g_scriptprocs.pas @@ -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;