diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 24add0e1d5..e799050583 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -114,7 +114,7 @@ void Sprite::LoadFromNode( const RString& sDir, const XNode* pNode ) LuaHelpers::RunAtExpressionS( sPath ); bool bIsAbsolutePath = sPath.Left(1) == "/"; - sPath = bIsAbsolutePath ? : sDir+sPath; + sPath = bIsAbsolutePath ? sPath : sDir+sPath; } if( !sPath.empty() )