summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMap.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemMap.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Items/ItemMap.h b/src/Items/ItemMap.h
index 83ec7cbc4..066e3fe28 100644
--- a/src/Items/ItemMap.h
+++ b/src/Items/ItemMap.h
@@ -7,15 +7,13 @@
-class cItemMapHandler final:
- public cItemHandler
+class cItemMapHandler final : public cItemHandler
{
using Super = cItemHandler;
static const unsigned int DEFAULT_RADIUS = 128;
-public:
-
+ public:
using Super::Super;
virtual void OnUpdate(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item) const override
@@ -30,4 +28,4 @@ public:
Map->UpdateRadius(*a_Player, DEFAULT_RADIUS);
Map->UpdateClient(a_Player);
}
-} ;
+};