diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 16:19:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 16:19:21 +0300 |
commit | 7bdb50605562e47f1d6ae134881c09bd42293be5 (patch) | |
tree | 935228722e4eb48f5856abec53be1ec985a0b9d6 /src/gui/popups/popupmenu.cpp | |
parent | 0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 (diff) | |
download | manaplus-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.gz manaplus-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.bz2 manaplus-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.xz manaplus-7bdb50605562e47f1d6ae134881c09bd42293be5.zip |
Add strong typed int type BeingTypeId.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index ee34d4ff7..59c1cc469 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -389,7 +389,8 @@ bool PopupMenu::addBeingMenu() if (!being) return false; - BeingInfo *const info = NPCDB::get(fromInt(being->getSubType(), BeingId)); + BeingInfo *const info = NPCDB::get(fromInt( + being->getSubType(), BeingTypeId)); if (!info) return false; |