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
+1 -1
View File
@@ -389,7 +389,7 @@ void StepsDisplayList::HandleMessage( const Message &msg )
class LunaStepsDisplayList: public Luna<StepsDisplayList>
{
public:
static int setfromgamestate( T* p, lua_State *L ) { p->SetFromGameState(); return 0; }
static int setfromgamestate( T* p, lua_State *L ) { p->SetFromGameState(); COMMON_RETURN_SELF; }
LunaStepsDisplayList()
{