From 0149d8556bc5466d3026c68bdf781a74218687c7 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 24 Aug 2011 12:22:07 -0500 Subject: [PATCH] fix compile --- src/ActorFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ActorFrame.cpp b/src/ActorFrame.cpp index d2968b32fc..bb94b5b025 100644 --- a/src/ActorFrame.cpp +++ b/src/ActorFrame.cpp @@ -551,7 +551,7 @@ public: static int AddChildFromPath( T* p, lua_State *L ) { // this one is tricky, we need to get an Actor from Lua. - pActor = ActorUtil::MakeActor( SArg(1) ); + Actor *pActor = ActorUtil::MakeActor( SArg(1) ); if ( pActor == NULL ) { lua_pushboolean( L, 0 );