Function chaining for actors and singletons.

This commit is contained in:
Kyzentun
2014-12-01 22:31:30 -07:00
parent 3b36858cf8
commit 4f95bf08ad
59 changed files with 475 additions and 423 deletions
+4 -4
View File
@@ -834,7 +834,7 @@ public:
p->m_iScore = IArg(1);
return 1;
}
return 0;
COMMON_RETURN_SELF;
}
static int SetCurMaxScore( T* p, lua_State *L )
{
@@ -843,13 +843,13 @@ public:
p->m_iCurMaxScore = IArg(1);
return 1;
}
return 0;
COMMON_RETURN_SELF;
}
static int FailPlayer( T* p, lua_State * )
static int FailPlayer( T* p, lua_State *L )
{
p->m_bFailed = true;
return 0;
COMMON_RETURN_SELF;
}
LunaPlayerStageStats()