]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/InventoryMenu.cpp
new language, new compiler
[l2e.git] / src / menu / InventoryMenu.cpp
index 9a4bf13e7ab0efc9db6afa3f6262da0618960bb8..de60edcf0e2289458d8e7d6e7252564b2c8e30a3 100644 (file)
@@ -10,6 +10,7 @@
 #include "../common/Item.h"
 #include "../graphics/Font.h"
 #include "../graphics/Frame.h"
+#include "../math/Vector.h"
 
 using app::Input;
 using common::Inventory;
@@ -33,7 +34,9 @@ InventoryMenu::InventoryMenu(PartyMenu *parent)
 
 void InventoryMenu::OnEnterState(SDL_Surface *) {
        menu.SetSelected();
+       menu.StartAnimation(Ctrl());
        LoadInventory();
+       itemMenu.StartAnimation(Ctrl());
 }
 
 void InventoryMenu::LoadInventory() {