Fix drill rocket exploding when digging at bounce/wrap world edge
authorWuzzy <Wuzzy2@mail.ru>
Tue, 07 Aug 2018 02:18:19 +0200
changeset 13624 6a06904c7bb8
parent 13623 f66d8779e4dd
child 13625 10e256704181
Fix drill rocket exploding when digging at bounce/wrap world edge
ChangeLog.txt
hedgewars/uGearsHandlersMess.pas
--- a/ChangeLog.txt	Tue Aug 07 01:52:40 2018 +0200
+++ b/ChangeLog.txt	Tue Aug 07 02:18:19 2018 +0200
@@ -12,12 +12,13 @@
  * Functionality of controllers restored
  * Fix crash when 2 or more controllers were connected
  * Fix hammer and pickhammer not digging correctly at wrap world edge
+ * Fix drill rocket exploding when digging at bounce/wrap world edge
  * Fix freezer ray not working through wrap world edge
  * Fix freezer ray going through bounce world edge
  * Fix cake walking through bounce world edge
  * Fix cake walking through land when reaching wrap world edge
  * Laser sight now works properly through wrap world edge
- * Fix projectiles reacing incorrectly with land just behind the wrap world edge
+ * Fix projectiles behaving incorrectly with land just behind the wrap world edge
  * Fix extreme amounts of droplets when shooting with minigun into ocean world edge
  * Fix hog being unable to walk after using sniper rifle without firing both shots
  * Fix video recorder not working when game audio was disabled
--- a/hedgewars/uGearsHandlersMess.pas	Tue Aug 07 01:52:40 2018 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Tue Aug 07 02:18:19 2018 +0200
@@ -3887,6 +3887,7 @@
     t: PGearArray;
     tempColl: Word;
 begin
+    WorldWrap(Gear);
     AllInactive := false;
     if (Gear^.Timer > 0) and (Gear^.Timer mod 10 <> 0) then
         begin