[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [granatier] src: make random arena mode work again
From:       Mathias Kraus <k.hias () gmx ! de>
Date:       2015-03-01 22:26:26
Message-ID: E1YSCJe-0004FN-Gh () scm ! kde ! org
[Download RAW message or body]

Git commit 74ac15afe8c66a51576d4d2f1350cdc6e2e17ae5 by Mathias Kraus.
Committed on 01/03/2015 at 22:25.
Pushed by mkraus into branch 'master'.

make random arena mode work again

M  +1    -1    src/game.cpp

http://commits.kde.org/granatier/74ac15afe8c66a51576d4d2f1350cdc6e2e17ae5

diff --git a/src/game.cpp b/src/game.cpp
index d17d605..8114f41 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -136,7 +136,7 @@ void Game::init()
         {
             nIndex = m_randomArenaModeArenaList.count() - 1;
         }
-        filePath = QStandardPaths::locate(QStandardPaths::DataLocation, "arenas/" + \
m_randomArenaModeArenaList.at(nIndex)); +        filePath = \
m_randomArenaModeArenaList.at(nIndex);  m_randomArenaModeArenaList.removeAt(nIndex);
     }
     else


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic