Skip to content

Commit

Permalink
Small bug fixes
Browse files Browse the repository at this point in the history
minor bug fixes. Fixed crashing when winners screen came up
  • Loading branch information
lufinkey authored and lufinkey committed Jul 20, 2014
1 parent 983aebe commit 7f89a11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/SmashBros/Loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ namespace SmashBros
animations.add(win);

Animation* winhold = new Animation("win_hold", winhold_fps, winhold_rows, winhold_cols);
win->addFrame(charFolder + "/win_hold.png");
winhold->addFrame(charFolder + "/win_hold.png");
animations.add(winhold);

Animation* lose = new Animation("lose", lose_fps, lose_rows, lose_cols);
win->addFrame(charFolder + "/lose.png");
lose->addFrame(charFolder + "/lose.png");
animations.add(lose);

return animations;
Expand Down
2 changes: 1 addition & 1 deletion Source/SmashBros/Preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace SmashBros

bool Preferences::debuglog = false;

String Preferences::versionMessage = (String)"Welcome to iSSB v2.2, I apologize sincerely for the lack of updates. I have been incredibly "
String Preferences::versionMessage = (String)"Welcome to iSSB v2.2! I apologize sincerely for the lack of updates. I have been incredibly "
+"busy over the past few months. To make up for it, I have added Pikachu as a new character! Please "
+"consider donating by going to \"Options\", selecting \"Other\", and then selecting \"Donate\". Thank you!";

Expand Down
2 changes: 1 addition & 1 deletion Source/SmashBros/Stage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ namespace SmashBros
break;

case BG_FIXED:
background->drawFrame(null, g, 0, View::x, View::y, View::x + (float)View::ScaleWidth(), View::y + (float)View::ScaleHeight());
background->drawFrame(null, g, 0, View::x, View::y, View::x + (float)View::ScaleWidth() + 1, View::y + (float)View::ScaleHeight() + 1);
//background->drawFrame(null, g, 0, View::x, View::y, (float)View::ScaleWidth(), (float)View::ScaleHeight());
break;
}
Expand Down

0 comments on commit 7f89a11

Please sign in to comment.