diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2011-03-10 12:55:26 +0000 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2011-03-10 12:55:26 +0000 |
commit | aa0544a73122cd4f18bfcb28e8ddebf348686f5d (patch) | |
tree | d4852b50cf9402fb714d246caa24abbc0e374d97 /Level.cpp | |
parent | c12fcf8e7663c20e2c2c0696fb35a7059b83127a (diff) |
Ensure some variables are initialised
Diffstat (limited to 'Level.cpp')
-rw-r--r-- | Level.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -203,6 +203,7 @@ void Level::draw(Screen *screen) { void Level::loadMap(int LevelNo) { numPlatforms = 0; + numHazards = 0; // TODO: Let each Platform have a reference a single tiles image platform[0].setImage("tiles.png"); hazard[0].setImage("tiles.png"); |