]> git.localhorst.tv Git - l2e.git/blobdiff - src/main.cpp
added capsule wheel and table
[l2e.git] / src / main.cpp
index 2611a722aeba9b20ebf2431e33606e846be645e8..ca54210181f34e52b8a9e0c2f17060b985a8a5c9 100644 (file)
@@ -18,6 +18,7 @@
 #include "common/Spell.h"
 #include "common/Stats.h"
 #include "geometry/Vector.h"
+#include "graphics/CharSelect.h"
 #include "graphics/ComplexAnimation.h"
 #include "graphics/Font.h"
 #include "graphics/Frame.h"
@@ -111,6 +112,7 @@ int main(int argc, char **argv) {
                common::TargetingMode::CreateTypeDescription();
 
                graphics::Animation::CreateTypeDescription();
+               graphics::CharSelect::CreateTypeDescription();
                graphics::ComplexAnimation::CreateTypeDescription();
                graphics::Font::CreateTypeDescription();
                graphics::Frame::CreateTypeDescription();
@@ -194,8 +196,9 @@ int main(int argc, char **argv) {
                gameState.party[3] = &gameState.heroes[3];
                gameState.partySize = 4;
 
-               gameState.capsules[0] = *caster.GetCapsule("flash");
-               gameState.capsule = gameState.capsules;
+               gameState.capsules[1] = *caster.GetCapsule("flash");
+               gameState.capsules[1].UpgradeClass();
+               gameState.capsule = &gameState.capsules[1];
 
                GameConfig gameConfig;
                gameConfig.state = &gameState;