From 237fc1731eb27a392dfbb7d02b2ea64189aa06dd Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 22 Sep 2008 11:50:16 +0000 Subject: [PATCH] Missed commit --- stepmania/src/ActorUtil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorUtil.h b/stepmania/src/ActorUtil.h index 31c1e8f197..5b944f67a0 100644 --- a/stepmania/src/ActorUtil.h +++ b/stepmania/src/ActorUtil.h @@ -46,7 +46,7 @@ namespace ActorUtil inline void PlayCommand( Actor& actor, const RString &sCommandName ) { actor.PlayCommand( sCommandName ); } inline void OnCommand( Actor& actor ) { - ASSERT_M( actor.HasCommand("On"), ssprintf("%s is missing an OnCommand.", actor.GetName().c_str()) ); + ASSERT_M( actor.HasCommand("On"), ssprintf("%s is missing an OnCommand.", actor.GetLineage().c_str()) ); actor.PlayCommand("On"); } inline void OffCommand( Actor& actor ) @@ -57,7 +57,7 @@ namespace ActorUtil // (Do "playcommand" anyway; BGAs often have no name.) if( actor.GetName().empty() ) return; - ASSERT_M( actor.HasCommand("Off"), ssprintf("Actor %s is missing an OffCommand.", actor.GetName().c_str()) ); + ASSERT_M( actor.HasCommand("Off"), ssprintf("Actor %s is missing an OffCommand.", actor.GetLineage().c_str()) ); actor.PlayCommand("Off"); }