ソースを参照

Fix sprite clipping by using signed rect width

Streetwalrus Einstein 10 年 前
コミット
67ecca4561
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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;
         };
 
         /*