Fixed a mistyped variable name

This commit is contained in:
2015-07-20 17:14:24 +10:00
parent d2e75e02c5
commit 48f5512e1a
+1 -1
View File
@@ -110,7 +110,7 @@ void TileSheet::DrawRegionTo(SDL_Renderer* const renderer, Region* const region,
//set the sclip
sclip.x = (tile-1) % countX * clip.h;
sclip.x = (tile-1) / countX * clip.w;
sclip.y = (tile-1) / countX * clip.w;
//set the dclip
dclip.x = ((region->x + i) * clip.w - camX) * scaleX;