--- a/ChangeLog.txt Tue Apr 24 21:49:12 2018 +0200
+++ b/ChangeLog.txt Thu Apr 26 00:21:03 2018 +0200
@@ -1,8 +1,9 @@
+ features
* bugfixes
-====================== 0.9.25 ======================
+====================== 0.9.24.2 ====================
Lua API:
+ New call: Retreat(time [, respectGetAwayTimeFactor): Force current turn into retreating mode
+ * Fix hog being unable to walk after using sniper rifle without firing both shots
====================== 0.9.24.1 ====================
* Fix crash when portable portal device is fired at reduced graphics quality
--- a/hedgewars/uGears.pas Tue Apr 24 21:49:12 2018 +0200
+++ b/hedgewars/uGears.pas Thu Apr 26 00:21:03 2018 +0200
@@ -537,6 +537,8 @@
begin
if (GameFlags and gfInvulnerable) = 0 then
Gear^.Hedgehog^.Effects[heInvulnerable]:= 0;
+ if (Gear^.Hedgehog^.Effects[heArtillery] = 2) then
+ Gear^.Hedgehog^.Effects[heArtillery]:= 0;
end;
end;
t:= GearsList;