Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Commit

Permalink
Berserk hit netgame fix
Browse files Browse the repository at this point in the history
Berserk sounds now working at client side
  • Loading branch information
binarymaster committed Nov 9, 2014
1 parent 71ac570 commit e6efa8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DF Sources/g_player.pas
Expand Up @@ -3468,7 +3468,9 @@ procedure TPlayer.NetFire(Wpn: Byte; X, Y, AX, AY: Integer; WID: Integer = -1);
obj.Accel.y := yd-wy;

if g_Weapon_Hit(@obj, 50, FUID, HIT_SOME) <> 0 then
g_Sound_PlayExAt('SOUND_WEAPON_HITPUNCH', FObj.X, FObj.Y);
g_Sound_PlayExAt('SOUND_WEAPON_HITBERSERK', FObj.X, FObj.Y)
else
g_Sound_PlayExAt('SOUND_WEAPON_MISSBERSERK', FObj.X, FObj.Y);

if gFlash then
if FPain < 50 then
Expand Down

0 comments on commit e6efa8d

Please sign in to comment.