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
@@ -294,7 +294,7 @@ void PaneDisplay::SetFromGameState()
class LunaPaneDisplay: public Luna<PaneDisplay>
{
public:
static int SetFromGameState( T* pc, lua_State *L ) { pc->SetFromGameState(); return 0; }
static int SetFromGameState( T* p, lua_State *L ) { p->SetFromGameState(); COMMON_RETURN_SELF; }
LunaPaneDisplay()
{