- code cleanup from cppcheck

- added more checks when loading models, maps and textures
This commit is contained in:
Mark Vejvoda
2012-10-20 07:15:13 +00:00
parent 9356034920
commit 64058b17e7
13 changed files with 285 additions and 117 deletions

View File

@@ -44,9 +44,7 @@ public:
}
};
ScriptManagerMessage::ScriptManagerMessage() {
this->text= "";
this->header= "";
ScriptManagerMessage::ScriptManagerMessage() : text(""), header("") {
this->factionIndex=-1;
this->teamIndex=-1;
}