diff options
Diffstat (limited to '')
-rw-r--r-- | source/cWorld.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/cWorld.h b/source/cWorld.h index 0664c72cc..3f8080f06 100644 --- a/source/cWorld.h +++ b/source/cWorld.h @@ -123,9 +123,8 @@ public: void AddPlayer( cPlayer* a_Player );
void RemovePlayer( cPlayer* a_Player );
- typedef struct lua_State lua_State;
- bool ForEachPlayer(cPlayerListCallback & a_Callback); // Calls the callback for each player in the list
- // >> EXPORTED IN MANUALBINDINGS <<
+ bool ForEachPlayer(cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS <<
+
unsigned int GetNumPlayers(); //tolua_export
// TODO: This interface is dangerous - rewrite to DoWithPlayer(playername, action)
|