From 1fec16968b62705a2b7929c07090e5f77baf508b Mon Sep 17 00:00:00 2001 From: Rtch90 <ritchie.cunningham@protonmail.com> Date: Tue, 20 Dec 2011 01:13:47 +0000 Subject: [PATCH] [FIX] It kinda helps if I lay the tiles rather than just grab the return value, right? :/ --- src/libUnuk/MapTile.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libUnuk/MapTile.h b/src/libUnuk/MapTile.h index c11fed8..969eaef 100644 --- a/src/libUnuk/MapTile.h +++ b/src/libUnuk/MapTile.h @@ -21,7 +21,10 @@ public: SDL_Surface SetTileTexture(SDL_Surface* arg) { _tile.SetTexture(arg); } void SetTileSolidity(bool arg) { _tile.SetSolidity(arg); } bool GetTileSolidity(void) { return _tile.GetSolidity(); } - void SetTileXY(int xArg, int yArg) { _tile.GetX(), _tile.GetY(); } + // Well, it kinda helps if I lay the + // tiles rather than just get the + // return value right?? + void SetTileXY(int xArg, int yArg) { _tile.SetXY(xArg, yArg); } int GetTileX(void) { return _tile.GetX(); } int GetTileY(void) { return _tile.GetY(); }