Minor comment tweaks

This commit is contained in:
Kayne Ruse
2015-02-27 05:43:20 +11:00
parent a00ddb3142
commit cb63c9b07c
8 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ static int getLoadedCount(lua_State* L) {
}
static int forEach(lua_State* L) {
//TODO: (1) find a way to update the clients when a script alters a character's data
//TODO: (9) forEach()
}
static const luaL_Reg characterManagerLib[] = {
+1 -1
View File
@@ -205,7 +205,7 @@ void ServerApplication::hCharacterMovement(CharacterPacket* const argPacket) {
//check if allowed
if (characterData->GetOwner() != argPacket->accountIndex && !accountData->GetModerator() && !accountData->GetAdministrator()) {
//TODO: (2) send to the client?
//TODO: (3) send to the client?
std::cerr << "Failed to set character motion due to lack of permissions targeting uid(" << argPacket->characterIndex << ")" << std::endl;
return;
}
+1 -1
View File
@@ -85,5 +85,5 @@ void ServerApplication::hAdminShutdownRequest(ClientPacket* const argPacket) {
}
void ServerApplication::SaveServerState() {
//TODO: (2) Periodic mass server saves
//TODO: (3) Periodic mass server saves
}
-1
View File
@@ -32,7 +32,6 @@
#include <map>
#include <string>
//TODO: (1) rename this system to the "trigger" system
class TriggerManager {
public:
TriggerManager();
+1 -1
View File
@@ -23,7 +23,7 @@
#include "trigger_manager.hpp"
//TODO: figure out a way to iterate through elements of managers from lua
//TODO: (1) figure out a way to iterate through elements of managers from lua
static int create(lua_State* L) {
TriggerManager* mgr = static_cast<TriggerManager*>(lua_touserdata(L, 1));