From 35bf2170635dc26af5914dbf70152471617ef97e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 11 Mar 2003 21:05:53 +0000 Subject: [PATCH] oops; fix hack --- stepmania/src/RageBitmapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index c622a72b53..5e51612b44 100644 --- a/stepmania/src/RageBitmapTexture.cpp +++ b/stepmania/src/RageBitmapTexture.cpp @@ -304,7 +304,7 @@ void RageBitmapTexture::Create() * a texture when it's reused from our texture cache if it hasn't been used * in a long time). */ glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 0.5f); - if(GetFilePath().Find("danger")) + if(GetFilePath().Find("danger") != -1) glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 1.0f); int pixfmt = desired_rgba_pixfmt;