Jelajahi Sumber

Merge pull request #764 from kwhatmough/next

Fix intermittent Android crash on startup. Rewind before iterating throu...
Sean Paul Taylor 13 tahun lalu
induk
melakukan
db93d108da
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      gameplay/src/Game.cpp

+ 1 - 0
gameplay/src/Game.cpp

@@ -577,6 +577,7 @@ void Game::loadGamepads()
     {
     {
         // Check if there are any virtual gamepads included in the .config file.
         // Check if there are any virtual gamepads included in the .config file.
         // If there are, create and initialize them.
         // If there are, create and initialize them.
+        _properties->rewind();
         Properties* inner = _properties->getNextNamespace();
         Properties* inner = _properties->getNextNamespace();
         while (inner != NULL)
         while (inner != NULL)
         {
         {