diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:57:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:57:33 +0300 |
commit | 41dfafa2ff6e878308c5edde056edfa944bf6f03 (patch) | |
tree | e570bebc6fcf7227ebd8787d19c5b3a1bbd17a9b /src/being | |
parent | 45379d14d9d3c7f4673b8390cb95d98bb1759f45 (diff) | |
download | mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.tar.gz mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.tar.bz2 mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.tar.xz mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.zip |
Convert Pickup enum into strong typed enum.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 2 | ||||
-rw-r--r-- | src/being/localplayer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 4ad43b098..fedda2777 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -818,7 +818,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, const int amount, const unsigned char color, const BeingId floorItemId, - const Pickup::Type fail) + const PickupT fail) { if (fail != Pickup::OKAY) { diff --git a/src/being/localplayer.h b/src/being/localplayer.h index e64f8fd58..59bd34d4c 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -180,7 +180,7 @@ class LocalPlayer final : public Being, const int amount, const unsigned char color, const BeingId floorItemId, - const Pickup::Type fail); + const PickupT fail); int getLevel() const override final A_WARN_UNUSED; |