diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-03 22:22:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-03 22:22:59 +0300 |
commit | f24512ff105dce01260d1a484c0ce1aa89e108ce (patch) | |
tree | 4ba0bd277e70ead687960899c5d12e60ed5a5a1c /src/actorspritemanager.h | |
parent | 5c9d41ce013205bdef4ebff837fadf2e0763401c (diff) | |
download | manaplus-f24512ff105dce01260d1a484c0ce1aa89e108ce.tar.gz manaplus-f24512ff105dce01260d1a484c0ce1aa89e108ce.tar.bz2 manaplus-f24512ff105dce01260d1a484c0ce1aa89e108ce.tar.xz manaplus-f24512ff105dce01260d1a484c0ce1aa89e108ce.zip |
Refactor a bit actorspritemanager. (remove duplicate code)
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r-- | src/actorspritemanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h index 6d56b0309..9605b9ccd 100644 --- a/src/actorspritemanager.h +++ b/src/actorspritemanager.h @@ -291,6 +291,8 @@ class ActorSpriteManager: public ConfigListener int getPriorityAttackMobIndex(std::string name); + int getIndexByName(std::string name, std::map<std::string, int> &map); + protected: bool validateBeing(Being *aroundBeing, Being* being, Being::Type type, Being* excluded = nullptr, |