From 85c2cd43e7c0a9f5d748d73a776c98615cd7a2fb Mon Sep 17 00:00:00 2001 From: Lynix Date: Sun, 3 Apr 2016 22:42:31 +0200 Subject: [PATCH] Sdk/Application: Store worlds in a list to prevent their memory position to move Former-commit-id: 918ce261e7b8faded4ad6bded48fc09a885ceb8c --- SDK/include/NDK/Application.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDK/include/NDK/Application.hpp b/SDK/include/NDK/Application.hpp index 91c1bc5da..ef697e48a 100644 --- a/SDK/include/NDK/Application.hpp +++ b/SDK/include/NDK/Application.hpp @@ -43,7 +43,7 @@ namespace Ndk #ifndef NDK_SERVER std::vector> m_windows; #endif - std::vector m_worlds; + std::list m_worlds; Nz::Clock m_updateClock; #ifndef NDK_SERVER bool m_exitOnClosedWindows;