]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/PartyMenu.cpp
consistent naming of graphics drawing functions
[l2e.git] / src / menu / PartyMenu.cpp
index 46e271bd70218fc95f8d889d6b74f703f9021b2d..8e627ee312ba1902ffe02d5a59427e9b90d948de 100644 (file)
@@ -53,7 +53,7 @@ PartyMenu::~PartyMenu() {
 
 
 void PartyMenu::OnEnterState(SDL_Surface *) {
-
+       mainMenu.StartAnimation(Ctrl());
 }
 
 void PartyMenu::OnExitState(SDL_Surface *) {
@@ -153,7 +153,7 @@ int PartyMenu::Height() const {
 }
 
 void PartyMenu::RenderBackground(SDL_Surface *screen) const {
-       Res().menubg->Render(screen, Vector<int>(), Vector<int>(screen->w, screen->h));
+       Res().menubg->Draw(screen, Vector<int>(), Vector<int>(screen->w, screen->h));
 }
 
 void PartyMenu::RenderHeros(SDL_Surface *screen, const Vector<int> &offset) const {