diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas
index 1b80ddd13aba6f9a9d031aa5ff3a172ed3002c92..e5cd723488af9bec0802f13af252346ec73b9e6a 100644 (file)
--- a/src/game/g_netmsg.pas
+++ b/src/game/g_netmsg.pas
// now set direction according to strafe
if (strafeDir = 1) then gPlayer1.SetDirection(D_LEFT)
else if (strafeDir = 2) then gPlayer1.SetDirection(D_RIGHT)
- else gPlayer1.SetDirection(TDirection(P1MoveButton-1));
+ else if P1MoveButton <> 0 then gPlayer1.SetDirection(TDirection(P1MoveButton-1));
end
else
begin