diff --git a/stepmania/src/RageTextureManager.cpp b/stepmania/src/RageTextureManager.cpp index c26e042da4..2f7a6aa01d 100644 --- a/stepmania/src/RageTextureManager.cpp +++ b/stepmania/src/RageTextureManager.cpp @@ -95,7 +95,7 @@ RageTexture* RageTextureManager::LoadTexture( RageTextureID ID ) splitpath( ID.filename, sDir, sFName, sExt ); RageTexture* pTexture; - if( sExt == "avi" || sExt == "mpg" || sExt == "mpeg" ) + if( sExt == ".avi" || sExt == ".mpg" || sExt == ".mpeg" ) pTexture = new RageMovieTexture( ID ); else pTexture = new RageBitmapTexture( ID );