diff --git a/sp/src/game/server/items.h b/sp/src/game/server/items.h index 53f440e8..6209c15e 100644 --- a/sp/src/game/server/items.h +++ b/sp/src/game/server/items.h @@ -89,9 +89,9 @@ public: #endif #ifdef MAPBASE - // This is in CBaseEntity, but I can't find a use for it anywhere. - // It may have been originally intended for TF2 or some other game-specific item class. Please remove this if it turns out to be something important. - virtual bool IsCombatItem() { return true; } + // This appeared to have no prior use in Source SDK 2013. + // It may have been originally intended for TF2 or some other game-specific item class. + virtual bool IsCombatItem() const { return true; } // Used to access item_healthkit values, etc. from outside of the class virtual float GetItemAmount() { return 1.0f; }