From cc952be7816e096be8d50e252310b0c292029368 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 24 Jan 2006 04:56:29 +0000 Subject: [PATCH] fix ActorParam::Release --- stepmania/src/ActorUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 55d02e86ef..252b0a93de 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -543,7 +543,7 @@ ActorUtil::ActorParam::~ActorParam() void ActorUtil::ActorParam::Release() { - if( m_pOld->IsSet() ) + if( !m_pOld->IsSet() ) return; /* Restore the old value. */ Lua *L = LUA->Get();