mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
refactoring some stuff
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
|
||||
|
||||
#include "framework/engine.h"
|
||||
#include "framework/configmanager.h"
|
||||
#include "framework/resourcemanager.h"
|
||||
#include "framework/configs.h"
|
||||
#include "framework/resources.h"
|
||||
#include "framework/platform.h"
|
||||
#include "menustate.h"
|
||||
|
||||
@@ -108,7 +108,7 @@ int main(int argc, const char *argv[])
|
||||
|
||||
// state scope
|
||||
{
|
||||
std::unique_ptr<MenuState> menuState(new MenuState());
|
||||
std::shared_ptr<MenuState> menuState(new MenuState());
|
||||
g_engine.changeState(menuState.get());
|
||||
|
||||
Platform::showWindow();
|
||||
|
||||
Reference in New Issue
Block a user