Network Playernames ( and some more changes in the options menu )

This commit is contained in:
Titus Tscharntke
2010-03-23 01:38:19 +00:00
parent c26e924e8c
commit 397fe3dc41
6 changed files with 197 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
// ==============================================================
// This file is part of Glest (www.glest.org)
//
// Copyright (C) 2001-2008 Marti<74>o Figueroa
// Copyright (C) 2001-2008 Marti<74>o Figueroa
//
// You can redistribute this code and/or modify it under
// the terms of the GNU General Public License as published
@@ -349,7 +349,7 @@ void ServerInterface::waitUntilReady(Checksum* checksum){
}
void ServerInterface::sendTextMessage(const string &text, int teamIndex){
NetworkMessageText networkMessageText(text, getHostName(), teamIndex);
NetworkMessageText networkMessageText(text, Config::getInstance().getString("NetPlayerName"), teamIndex);
broadcastMessage(&networkMessageText);
}