mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 23:49:03 +02:00
- bugfixes and code cleanup found using cppcheck
This commit is contained in:
@@ -226,8 +226,6 @@ void LuaScript::saveGame(XmlNode *rootNode) {
|
||||
}
|
||||
|
||||
void LuaScript::loadGame(const XmlNode *rootNode) {
|
||||
const XmlNode *luaScriptNode = rootNode;
|
||||
|
||||
vector<XmlNode *> luaScriptNodeList = rootNode->getChildList("LuaScript");
|
||||
for(unsigned int i = 0; i < luaScriptNodeList.size(); ++i) {
|
||||
XmlNode *node = luaScriptNodeList[i];
|
||||
|
Reference in New Issue
Block a user