diff --git a/src/game/g_weapons.pas b/src/game/g_weapons.pas
index 6f6b60be4f374bee6f2a45d9bce097425dbbfa72..0e80e5846c557f7846bc1b3f04890f3ac48ee0a1 100644 (file)
--- a/src/game/g_weapons.pas
+++ b/src/game/g_weapons.pas
triggers := nil;
ShotType := WEAPON_MANCUB_FIRE;
- g_Frames_Get(FramesID, 'FRAMES_WEAPON_MANCUBFIRE');
+ g_Frames_Get(FramesID, 'FRAMES_WEAPON_MANCUBFIRE');
Animation := TAnimation.Create(FramesID, True, 4);
end;
if Integer(find_id) >= High(Shots) then
SetLength(Shots, find_id + 64)
end;
-
+
with Shots[find_id] do
begin
g_Obj_Init(@Obj);
if Shots = nil then
Exit;
if (I > High(Shots)) or (I < 0) then Exit;
-
+
with Shots[I] do
begin
if ShotType = 0 then Exit;
s := 'FRAMES_EXPLODE_PLASMA'
else
s := 'FRAMES_EXPLODE_BSPFIRE';
-
+
if g_Frames_Get(TextureID, s) and loud then
begin
Anim := TAnimation.Create(TextureID, False, 3);