party tweak
authorsheepluva
Sun, 24 Jan 2016 00:00:25 +0100
changeset 11530 a52fb6485403
parent 11529 58b4e357bcbf
child 11531 d1cf1ff6cabb
party tweak
ChangeLog.txt
hedgewars/uGearsHandlersMess.pas
--- a/ChangeLog.txt	Sat Jan 23 17:29:44 2016 -0500
+++ b/ChangeLog.txt	Sun Jan 24 00:00:25 2016 +0100
@@ -5,6 +5,7 @@
  + Improved hedgehog spawns on maps that lack land mass or free space
  + Highlander mode displays game scheme specifics (mines timer, etc.) in ESC info
  + AI hedgehogs know how to use Bee now
+ + Small visual effects enhancements
  * Video recording functionality is restored
  * Gameplay fix: Hammer damage is now rounded down. This means it will cause NO DAMAGE to a hedgehog with less than 3 hp.
  * Fixed bee not being affected by wrap world edge while still being thrown
@@ -12,6 +13,7 @@
  * Fixed screenshots being too bright if taken in quick succession
  * Fixed hog-speech missing a response type (Justyouwait/"You're gonna pay for that") on some platforms (e.g. Linux)
  * Various other fixes
+
 Lua-API:
  + New call: SetCinematicMode(enable) -- e.g. for cutscenes etc.
 
--- a/hedgewars/uGearsHandlersMess.pas	Sat Jan 23 17:29:44 2016 -0500
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jan 24 00:00:25 2016 +0100
@@ -3227,7 +3227,7 @@
             end;
 //////////////////////////////////////////////////////////////////////
         Gear^.doStep := @doStepCakeExpl;
-        if partyEpicness > 6 then
+        if (partyEpicness > 6) and (abs(90 - abs(trunc(Gear^.DirAngle))) < 20) then
             begin
             for i := 0 to (2 * partyEpicness) do
                 begin