Explorar el Código

Fix sprite clipping by using signed rect width

Streetwalrus Einstein hace 10 años
padre
commit
67ecca4561
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         };
 
         /*