Adjust to reduced ammo menu dimensions.
authornemo
Sun, 12 Sep 2010 19:06:02 -0400
changeset 3853 9bd5319d1fcc
parent 3852 37f883cc7edb
child 3854 d390b0f29b0b
Adjust to reduced ammo menu dimensions.
hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Sun Sep 12 17:56:41 2010 -0400
+++ b/hedgewars/uStore.pas	Sun Sep 12 19:06:02 2010 -0400
@@ -1520,8 +1520,8 @@
 
 // image region
 i:= LongInt(atype) - 1;
-r.x:= (i shr 5) * 32;
-r.y:= (i mod 32) * 32;
+r.x:= (i shr 4) * 32;
+r.y:= (i mod 16) * 32;
 r.w:= 32;
 r.h:= 32;