From df4ad4ab6362898b1c2a35637b3208b6030f69d0 Mon Sep 17 00:00:00 2001 From: hiker Date: Sat, 6 Oct 2018 12:26:10 +1000 Subject: [PATCH] Added missing 'virtual'. --- src/items/item.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/item.hpp b/src/items/item.hpp index c68525e99..6b3097253 100644 --- a/src/items/item.hpp +++ b/src/items/item.hpp @@ -380,7 +380,7 @@ public: virtual void updateGraphics(float dt) OVERRIDE; virtual void collected(const AbstractKart *kart) OVERRIDE; void reset(); - void switchTo(ItemType type, scene::IMesh *mesh, + virtual void switchTo(ItemType type, scene::IMesh *mesh, scene::IMesh *lowmesh); virtual bool switchBack() OVERRIDE;