X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FPartyMenu.cpp;h=8e627ee312ba1902ffe02d5a59427e9b90d948de;hb=e1dab8a680a76f8621e967a693dbf2b481ba8f75;hp=577772ea88eba74054987f269d3d7361500bd855;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/menu/PartyMenu.cpp b/src/menu/PartyMenu.cpp index 577772e..8e627ee 100644 --- a/src/menu/PartyMenu.cpp +++ b/src/menu/PartyMenu.cpp @@ -53,7 +53,7 @@ PartyMenu::~PartyMenu() { void PartyMenu::OnEnterState(SDL_Surface *) { - + mainMenu.StartAnimation(Ctrl()); } void PartyMenu::OnExitState(SDL_Surface *) { @@ -126,7 +126,7 @@ void PartyMenu::HandleEvents(const Input &input) { } } -void PartyMenu::UpdateWorld(float deltaT) { +void PartyMenu::UpdateWorld(Uint32 deltaT) { } @@ -153,7 +153,7 @@ int PartyMenu::Height() const { } void PartyMenu::RenderBackground(SDL_Surface *screen) const { - Res().menubg->Render(screen, Vector(), Vector(screen->w, screen->h)); + Res().menubg->Draw(screen, Vector(), Vector(screen->w, screen->h)); } void PartyMenu::RenderHeros(SDL_Surface *screen, const Vector &offset) const {