1
This commit is contained in:
parent
5217ed437c
commit
030ca3d763
@ -114,6 +114,11 @@ namespace mt
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Hero::StaticPostInit()
|
||||||
|
{
|
||||||
|
LoadHeroAndEquipShotData();
|
||||||
|
}
|
||||||
|
|
||||||
const HeroShotAnimation* Hero::GetShotAnimi(int shotfire) const
|
const HeroShotAnimation* Hero::GetShotAnimi(int shotfire) const
|
||||||
{
|
{
|
||||||
auto itr = shot_animations.find(shotfire);
|
auto itr = shot_animations.find(shotfire);
|
||||||
|
@ -47,6 +47,8 @@ namespace mt
|
|||||||
std::map<int, HeroShotAnimation> shot_animations;
|
std::map<int, HeroShotAnimation> shot_animations;
|
||||||
|
|
||||||
void Init1();
|
void Init1();
|
||||||
|
static void StaticPostInit();
|
||||||
|
|
||||||
int RandDrop() const;
|
int RandDrop() const;
|
||||||
const HeroShotAnimation* GetShotAnimi(int shotfire) const;
|
const HeroShotAnimation* GetShotAnimi(int shotfire) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user