From 563e66959c2cb84df31c00341fa9350aa88d80c9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 22 May 2004 22:55:34 +0000 Subject: [PATCH] assert --- stepmania/src/RageSurface_Load.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/RageSurface_Load.cpp b/stepmania/src/RageSurface_Load.cpp index c660f549fa..262e13916e 100644 --- a/stepmania/src/RageSurface_Load.cpp +++ b/stepmania/src/RageSurface_Load.cpp @@ -54,7 +54,10 @@ static SDL_Surface *TryOpenFile( CString sPath, bool bHeaderOnly, CString &error } if( result == RageSurface::OPEN_OK ) + { + ASSERT( ret ); return ret; + } LOG->Trace( "Format %s failed: %s", format.c_str(), error.c_str() );