Prechádzať zdrojové kódy

Merge pull request #764 from kwhatmough/next

Fix intermittent Android crash on startup. Rewind before iterating throu...
Sean Paul Taylor 13 rokov pred
rodič
commit
db93d108da
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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.
         // If there are, create and initialize them.
+        _properties->rewind();
         Properties* inner = _properties->getNextNamespace();
         while (inner != NULL)
         {