diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-27 15:12:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-27 15:12:01 +0300 |
commit | d5586e6b6d5c7b1b83b3ec681e9da62840b5adaf (patch) | |
tree | 5f9a70468149907fa15aad5b5b5e1dc6b7e11bc0 /src/being/playerinfo.h | |
parent | 744b6e62e1252ca50445b21f671ad8d81dd28ea1 (diff) | |
download | manaplus-d5586e6b6d5c7b1b83b3ec681e9da62840b5adaf.tar.gz manaplus-d5586e6b6d5c7b1b83b3ec681e9da62840b5adaf.tar.bz2 manaplus-d5586e6b6d5c7b1b83b3ec681e9da62840b5adaf.tar.xz manaplus-d5586e6b6d5c7b1b83b3ec681e9da62840b5adaf.zip |
Simplify triggerStat function.
Diffstat (limited to 'src/being/playerinfo.h')
-rw-r--r-- | src/being/playerinfo.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index 6437017b5..bb7b89141 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -245,14 +245,9 @@ namespace PlayerInfo void stateChange(const int state); - void triggerAttr(int id); - void triggerAttr(const int id, const int old); - void triggerStat(int id); - - void triggerStat(const int id, const std::string &changed, - const int old1, const int old2 = 0); + void triggerStat(const int id, const int old1, const int old2); void setEquipmentBackend(Equipment::Backend *const backend); |