Fix possible crash with non constant format string.

This commit is contained in:
Steve Checkoway
2008-12-26 12:59:04 +00:00
parent fa7d3e5141
commit 0132ef996b
+1 -1
View File
@@ -717,7 +717,7 @@ void Actor::BeginTweening( float time, ITween *pTween )
{
RString sError = ssprintf( "Tween overflow: \"%s\"; infinitely recursing ActorCommand?", GetLineage().c_str() );
LOG->Warn( sError );
LOG->Warn( "%s", sError.c_str() );
Dialog::OK( sError );
FinishTweening();
}