From 41dfafa2ff6e878308c5edde056edfa944bf6f03 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 23:57:33 +0300 Subject: Convert Pickup enum into strong typed enum. --- src/being/localplayer.cpp | 2 +- src/being/localplayer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being') 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; -- cgit v1.2.3-70-g09d2