diff --git a/SeasonsOfLoneliness.cpp b/SeasonsOfLoneliness.cpp index 9e19d11..3d9836e 100644 --- a/SeasonsOfLoneliness.cpp +++ b/SeasonsOfLoneliness.cpp @@ -210,10 +210,10 @@ public: case GAMEWORLD:{ for (int y=-1;y<=HEIGHT/32;y++) { for (int x=-1;x<=WIDTH/32;x++) { - float xOffset=PLAYER_COORDS[0]-(WIDTH/64); - float yOffset=PLAYER_COORDS[1]-(HEIGHT/64); + int xOffset=PLAYER_COORDS[0]-(WIDTH/64); + int yOffset=PLAYER_COORDS[1]-(HEIGHT/64); if (xOffset+x>=0&&xOffset+x=0&&yOffset+y