1
This commit is contained in:
parent
2631d22467
commit
b86f97f44f
@ -1494,14 +1494,13 @@ void Human::SendUpdateMsg()
|
||||
}
|
||||
begin_tick = a8::XGetTickCount();
|
||||
#endif
|
||||
NotifyObservers(msg, active_player_data_pb);
|
||||
NotifyObservers(msg.get(), active_player_data_pb);
|
||||
#ifdef DEBUG
|
||||
sent_bytes += msg->ByteSize();
|
||||
if (active_player_data_pb) {
|
||||
sent_bytes += active_player_data_pb->ByteSize();
|
||||
}
|
||||
#endif
|
||||
delete msg;
|
||||
|
||||
if (active_player_data_pb) {
|
||||
delete active_player_data_pb;
|
||||
|
Loading…
x
Reference in New Issue
Block a user