Explorar o código

Fix sprite clipping by using signed rect width

Streetwalrus Einstein %!s(int64=10) %!d(string=hai) anos
pai
achega
67ecca4561
Modificáronse 1 ficheiros con 1 adicións e 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;
         };
 
         /*