Sdk/Application: Store worlds in a list to prevent their memory position to move

Former-commit-id: 918ce261e7b8faded4ad6bded48fc09a885ceb8c
This commit is contained in:
Lynix 2016-04-03 22:42:31 +02:00
parent 8481a3ae90
commit 85c2cd43e7
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ namespace Ndk
#ifndef NDK_SERVER
std::vector<std::unique_ptr<Nz::Window>> m_windows;
#endif
std::vector<World> m_worlds;
std::list<World> m_worlds;
Nz::Clock m_updateClock;
#ifndef NDK_SERVER
bool m_exitOnClosedWindows;