Tehe.
This commit is contained in:
@@ -268,10 +268,10 @@ void Server::Run() {
|
||||
Timestamp tstamp = conn->Run(m_world);
|
||||
|
||||
if (conn->player->AmIDead()) {
|
||||
Chat* chat = new Chat();
|
||||
chat->dest_id = chat->dest_team_id = chat->src_id = 0;
|
||||
Chat chat;
|
||||
chat.dest_id = chat.dest_team_id = chat.src_id = 0;
|
||||
|
||||
strcpy(chat->mess, getDeathMessage(conn->player->GetUsername()).c_str());
|
||||
strcpy(chat.mess, getDeathMessage(conn->player->GetUsername()).c_str());
|
||||
|
||||
m_chatlog[tstamp] = chat;
|
||||
|
||||
|
Reference in New Issue
Block a user