diff --git a/stepmania/src/RageTextureManager.cpp b/stepmania/src/RageTextureManager.cpp index 19649a8be4..e7a4967375 100644 --- a/stepmania/src/RageTextureManager.cpp +++ b/stepmania/src/RageTextureManager.cpp @@ -101,7 +101,7 @@ void RageTextureManager::UnloadTexture( RageTexture *t ) ASSERT( t->m_iRefCount >= 0 ); if( t->m_iRefCount ) - continue; /* Can't unload textures that are still referenced. */ + return; /* Can't unload textures that are still referenced. */ bool bDeleteThis = false;