tipped by xeli, ammomenu texture needs to be redrawn on resize to update its position
authorkoda
Sun, 12 Feb 2012 15:35:06 +0100
changeset 6675 dab56311daa5
parent 6674 4d3209a189ca
child 6676 21cf35a570a7
tipped by xeli, ammomenu texture needs to be redrawn on resize to update its position
hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Sun Feb 12 15:27:25 2012 +0100
+++ b/hedgewars/uStore.pas	Sun Feb 12 15:35:06 2012 +0100
@@ -1017,6 +1017,7 @@
         end
     else
         begin
+        AmmoMenuInvalidated:= true;
 {$IFDEF IPHONEOS}
         // chFullScr is called when there is a rotation event and needs the SetScale and SetupOpenGL to set up the new resolution
         // this 6 gl functions are the relevant ones and are hacked together here for optimisation