From 5e89d0d67f4f1f52a6462cd4780e5649673423cf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 2 Feb 2005 04:29:07 +0000 Subject: [PATCH] make SetName virtual, so actors can call ThemeMetric::ChangeGroup from a consistent place, even if they have no Load() function --- stepmania/src/Actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index 1870779762..0f26cefffa 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -83,7 +83,7 @@ public: * information.) */ const CString &GetName() const { return m_sName; } const CString &GetID() const { return m_sID.empty() ? m_sName : m_sID; } - void SetName( const CString &sName, const CString &sID = "" ) { m_sName = sName; m_sID = sID; } + virtual void SetName( const CString &sName, const CString &sID = "" ) { m_sName = sName; m_sID = sID; }