diff --git a/stepmania/src/Command.cpp b/stepmania/src/Command.cpp index c3458b77fe..7f45679c3d 100644 --- a/stepmania/src/Command.cpp +++ b/stepmania/src/Command.cpp @@ -3,7 +3,6 @@ #include "RageUtil.h" #include "RageLog.h" #include "arch/Dialog/Dialog.h" -#include "LuaManager.h" #include "Foreach.h" @@ -24,13 +23,6 @@ Command::Arg Command::GetArg( unsigned index ) const return a; } -Command::Arg::operator RString () const -{ - RString sValue = s; - LuaHelpers::RunAtExpressionS( sValue ); - return sValue; -} - void Command::Load( const RString &sCommand ) { m_vsArgs.clear(); diff --git a/stepmania/src/Command.h b/stepmania/src/Command.h index 7c7f235a62..d1e40884d2 100644 --- a/stepmania/src/Command.h +++ b/stepmania/src/Command.h @@ -17,7 +17,6 @@ public: struct Arg { RString s; - operator RString () const; }; Arg GetArg( unsigned index ) const;