Correction variable non initialisée

This commit is contained in:
Mattéo Delabre 2016-04-07 11:23:31 +02:00
parent 5ff5ba493a
commit 77c5bd2876
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ std::map<unsigned int, std::function<ObjectPtr(std::ifstream&)>> object_type_map
{Block::TYPE_ID, Block::load} {Block::TYPE_ID, Block::load}
}; };
Level::Level(Manager& manager) : View(manager) {} Level::Level(Manager& manager) : View(manager), total_time(30) {}
Level::~Level() { Level::~Level() {
objects.clear(); objects.clear();
} }