death fix

This commit is contained in:
Henrique 2011-09-01 21:28:24 -03:00
parent 9ca98dd00e
commit 80e4bb59d2
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ private:
void parseFYIMessage(InputMessage& msg);
void parseWaitList(InputMessage& msg);
void parsePing(InputMessage&);
void parseDeath(InputMessage&);
void parseDeath(InputMessage& msg);
void parseCanReportBugs(InputMessage& msg);
void parseMapDescription(InputMessage& msg);
void parseMoveNorth(InputMessage& msg);

View File

@ -295,9 +295,9 @@ void ProtocolGame::parsePing(InputMessage&)
sendPing();
}
void ProtocolGame::parseDeath(InputMessage&)
void ProtocolGame::parseDeath(InputMessage& msg)
{
msg.getU8(); // 100 is a fair death. < 100 is a unfair death.
}
void ProtocolGame::parseMapDescription(InputMessage& msg)