- bugfixes and code cleanup found using cppcheck

This commit is contained in:
Mark Vejvoda
2012-03-28 06:25:57 +00:00
parent 7a099a51c3
commit 9286130138
25 changed files with 47 additions and 39 deletions

View File

@@ -58,6 +58,9 @@ private:
const Texture *teamTexture;
public:
MeshCallbackTeamColor() : MeshCallback() {
teamTexture = NULL;
}
void setTeamTexture(const Texture *teamTexture) {this->teamTexture= teamTexture;}
virtual void execute(const Mesh *mesh);
};