Fixed wrong characters being drawn

This commit is contained in:
Kayne Ruse
2013-07-18 18:16:46 +10:00
parent ee3877b906
commit c03743ed0c
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ void Button::DrawTo(SDL_Surface* const dest) {
void Button::SetSurfaces(SDL_Surface* bg, SDL_Surface* fg) {
//graphical stuff
image.SetSurface(bg);
image.SetClipH(image.GetClipH() / 3); //3 phases, horizontal storage
image.SetClipH(image.GetClipH() / 3); //3 phases, vertical storage
font.SetSurface(fg);
//reset textX & textY