init new variable to null

This commit is contained in:
Mark Vejvoda 2013-05-25 22:46:01 +00:00
parent fd9ce54063
commit 7c98c35d67
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,7 @@ Unit::Unit(int id, UnitPathInterface *unitpath, const Vec2i &pos,
}
this->pos=pos;
this->preMorph_type = NULL;
this->type=type;
this->faction=faction;
this->map= map;