DEADSOFTWARE

added temporary hack for cyclic switching (remove it after readyweaon&pendinweapon...
[d2df-sdl.git] / src / game / g_netmsg.pas
index 1bb60c2d53a4aa234445cb1e56a8090f677b1c35..0ea771329dbf0358acd332b70e85d8e4fe24e90c 100644 (file)
@@ -2858,6 +2858,9 @@ begin
     if gPlayerAction[0, ACTION_WEAPNEXT] then kByte := kByte or NET_KEY_NW;
     if gPlayerAction[0, ACTION_WEAPPREV] then kByte := kByte or NET_KEY_PW;
 
+    gPlayerAction[0, ACTION_WEAPNEXT] := False; // HACK, remove after readyweaon&pendinweapon implementation
+    gPlayerAction[0, ACTION_WEAPPREV] := False; // HACK, remove after readyweaon&pendinweapon implementation
+
     for i := WP_FIRST to WP_LAST do
     begin
       if gSelectWeapon[0, i] then