From e2f1cf51c759f0c70bc1dc9f1db3a8575e1db10f Mon Sep 17 00:00:00 2001
From: faketruth
Date: Mon, 31 Oct 2011 00:52:20 +0000
Subject: Prepared some parts of the code for multi world support, I created
lots of TODO's
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6
---
source/cWebAdmin.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'source/cWebAdmin.cpp')
diff --git a/source/cWebAdmin.cpp b/source/cWebAdmin.cpp
index d6881c55f..03775ee3f 100644
--- a/source/cWebAdmin.cpp
+++ b/source/cWebAdmin.cpp
@@ -114,7 +114,7 @@ void cWebAdmin::Request_Handler(webserver::http_request* r)
Content += "
";
Content += "Players:
";
- cWorld* World = cRoot::Get()->GetWorld();
+ cWorld* World = cRoot::Get()->GetWorld(); // TODO - Create a list of worlds and players
cWorld::PlayerList PlayerList = World->GetAllPlayers();
for( cWorld::PlayerList::iterator itr = PlayerList.begin(); itr != PlayerList.end(); ++itr )
{
--
cgit v1.2.3