DEADSOFTWARE

added temporary hack for cyclic switching (remove it after readyweaon&pendinweapon...
[d2df-sdl.git] / src / game / g_game.pas
index 114c692242e50d3b5213bb7639579c7d324540ff..b3c00635e29cf462295f45fcda3138c89d2f9414 100644 (file)
@@ -1562,6 +1562,9 @@ begin
   if gPlayerAction[p, ACTION_WEAPPREV] then plr.PressKey(KEY_PREVWEAPON);
   if gPlayerAction[p, ACTION_ACTIVATE] then plr.PressKey(KEY_OPEN);
 
+  gPlayerAction[p, ACTION_WEAPNEXT] := False; // HACK, remove after readyweaon&pendinweapon implementation
+  gPlayerAction[p, ACTION_WEAPPREV] := False; // HACK, remove after readyweaon&pendinweapon implementation
+
   for i := WP_FIRST to WP_LAST do
   begin
     if gSelectWeapon[p, i] then