Explorar o código

Fixed a stupid contructor error.

Eiyeron Fulmincendii %!s(int64=10) %!d(string=hai) anos
pai
achega
4072a8cad4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/utility/Rect.h

+ 2 - 2
src/utility/Rect.h

@@ -10,9 +10,9 @@ namespace WalrusRPG
             signed x, y;
             unsigned width, height;
             // We don't need a source file for two inline functions.
-            Rect(unsigned x_, unsigned y_, signed width_, signed height_)
+            Rect(signed x_, signed y_, unsigned width_, unsigned height_)
                 : x(x_), y(y_), width(width_), height(height_){};
-            Rect(unsigned x_, unsigned y_) : Rect(x_, y_, 0, 0){};
+            Rect(signed x_, signed y_) : Rect(x_, y_, 0, 0){};
             Rect() : Rect(0, 0, 0, 0){};
         };
     }