fix: players play time got replaced with bots play time.
fix: crlib: fixed clang-analyzer warnings. build: removed predefined optimization flags in debug builds.
This commit is contained in:
parent
5170bb9bcf
commit
f40ca59700
11 changed files with 44 additions and 24 deletions
|
|
@ -691,11 +691,11 @@ int32 BotSupport::sendTo (int socket, const void *message, size_t length, int fl
|
|||
|
||||
for (uint8 i = 0; i < count; ++i) {
|
||||
buffer.skip <uint8> (); // number
|
||||
buffer.skipString (); // name
|
||||
auto name = buffer.readString (); // name
|
||||
buffer.skip <int32> (); // score
|
||||
|
||||
auto ctime = buffer.read <float> (); // override connection time
|
||||
buffer.write <float> (bots.getConnectTime (i, ctime));
|
||||
buffer.write <float> (bots.getConnectTime (name, ctime));
|
||||
}
|
||||
return send (buffer.data ());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue