1
This commit is contained in:
parent
8e7873aa5d
commit
25e0ae1fff
@ -806,6 +806,7 @@ Hero* Room::CreateHero(Creature* master,
|
|||||||
hero->SetAttackDir(dir);
|
hero->SetAttackDir(dir);
|
||||||
hero->team_id = team_id;
|
hero->team_id = team_id;
|
||||||
hero->Initialize();
|
hero->Initialize();
|
||||||
|
hero->hero_level = hero->GetBattleContext()->GetHeroLevel();
|
||||||
AddToEntityHash(hero);
|
AddToEntityHash(hero);
|
||||||
AddToMoveableHash(hero);
|
AddToMoveableHash(hero);
|
||||||
grid_service->AddCreature(hero);
|
grid_service->AddCreature(hero);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user