Parcourir la Source

Fix sprite clipping by using signed rect width

Streetwalrus Einstein il y a 10 ans
Parent
commit
67ecca4561
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/Graphics.h

+ 1 - 1
include/Graphics.h

@@ -9,7 +9,7 @@ namespace WalrusRPG
         struct Rect
         {
             int x, y;
-            unsigned w, h;
+            int w, h;
         };
 
         /*