Don't render AI hog thinking bubble in cut scenes
authorWuzzy <Wuzzy2@mail.ru>
Tue, 22 Jan 2019 18:17:19 +0100
changeset 14668 fb73852e6f4d
parent 14667 35fc8266a1e3
child 14669 def1b9870078
Don't render AI hog thinking bubble in cut scenes
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Tue Jan 22 18:00:08 2019 +0100
+++ b/hedgewars/uGearsRender.pas	Tue Jan 22 18:17:19 2019 +0100
@@ -1190,7 +1190,7 @@
                 DrawTextureCentered(ox, sy - cHHRadius - 7 - HealthTagTex^.h, HealthTagTex);
 
             if (Gear^.State and gstDrowning) = 0 then
-                if (Gear^.State and gstHHThinking) <> 0 then
+                if ((Gear^.State and gstHHThinking) <> 0) and (not CinematicScript) then
                     DrawSprite(sprQuestion, ox - 10, oy - cHHRadius - 34, (RealTicks shr 9) mod 8)
             end
         end;