summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-02 11:38:51 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-02 11:38:51 +0200
commit1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a (patch)
tree7229f7a53d79c5736be4f11718a727d58555f535 /source/cWorld.h
parentFixed a nasty int overflow bug in blockticking code ( http://forum.mc-server.org/showthread.php?tid=457 ) (diff)
downloadcuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.tar
cuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.tar.gz
cuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.tar.bz2
cuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.tar.lz
cuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.tar.xz
cuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.tar.zst
cuberite-1d6c55afcc31fdd9df6e9330c1e6812dfaf45a1a.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.h5
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)