From 0137e71f6b56f0333b120f807e6d791b6b29aa4b Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 12 Apr 2021 10:12:03 +0200 Subject: Added override specifiers to overridden functions. Needed for clang-11 compatibility. --- src/Items/ItemMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Items/ItemMap.h') diff --git a/src/Items/ItemMap.h b/src/Items/ItemMap.h index 2d939676a..59fddd3fb 100644 --- a/src/Items/ItemMap.h +++ b/src/Items/ItemMap.h @@ -21,7 +21,7 @@ public: { } - virtual void OnUpdate(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item) + virtual void OnUpdate(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item) override { cMap * Map = a_World->GetMapManager().GetMapData(static_cast(a_Item.m_ItemDamage)); -- cgit v1.2.3