Fixed a graphical bug

This commit is contained in:
Kayne Ruse
2015-08-24 02:01:46 +10:00
parent 540f646209
commit 0c1232ae3b
+1 -1
View File
@@ -85,7 +85,7 @@ void SpriteSheet::Update(double delta) {
}
//modify area drawn
clip.x = indexX * clip.w;
clip.y = indexX * clip.y;
clip.y = indexY * clip.h;
}
SDL_Texture* SpriteSheet::Load(SDL_Renderer* r, std::string fname, Uint16 cx, Uint16 cy) {