fix ActorParam::Release

This commit is contained in:
Glenn Maynard
2006-01-24 04:56:29 +00:00
parent 7e47dd8dce
commit cc952be781
+1 -1
View File
@@ -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();