浏览代码

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;
         };
 
         /*