lua API event: onGearWaterSkip
authorsheepluva
Sun, 14 Dec 2014 03:16:40 +0100 (2014-12-14)
changeset 10668 a15d57d941a1
parent 10667 5bd2fa61f25b
child 10669 4c78eafe76ac
lua API event: onGearWaterSkip
hedgewars/uGearsUtils.pas
--- a/hedgewars/uGearsUtils.pas	Sun Dec 14 02:37:30 2014 +0100
+++ b/hedgewars/uGearsUtils.pas	Sun Dec 14 03:16:40 2014 +0100
@@ -698,6 +698,8 @@
         if isImpact or isSkip then
             addSplashForGear(Gear, isSkip);
 
+        if isSkip then
+            ScriptCall('onGearWaterSkip', Gear^.uid);
         end
     else
         begin