Commit 693c8358 authored by mercury233's avatar mercury233

Merge branch 'master' of https://github.com/Fluorohydride/ygopro into server

parents b9b4e27a 78dd1715
......@@ -20,7 +20,7 @@
#include <dirent.h>
#endif
const unsigned short PRO_VERSION = 0x1340;
const unsigned short PRO_VERSION = 0x1341;
namespace ygo {
......
......@@ -108,8 +108,11 @@ int SingleMode::SinglePlayThread(void* param) {
is_continuing = SinglePlayAnalyze(engineBuffer, len);
last_replay.BeginRecord();
last_replay.WriteHeader(rh);
last_replay.WriteData(mainGame->dInfo.hostname, 40, false);
last_replay.WriteData(mainGame->dInfo.clientname, 40, false);
unsigned short buffer[20];
BufferIO::CopyWStr(mainGame->dInfo.hostname, buffer, 20);
last_replay.WriteData(buffer, 40, false);
BufferIO::CopyWStr(mainGame->dInfo.clientname, buffer, 20);
last_replay.WriteData(buffer, 40, false);
last_replay.WriteInt32(start_lp, false);
last_replay.WriteInt32(start_hand, false);
last_replay.WriteInt32(draw_count, false);
......
Subproject commit 2ede4eddc9456e468e2193c06405ee1ef3a6ae37
Subproject commit 745ef5f647a3a41bc04ef704099303b221e14e39
Subproject commit 14f463531b85d36bdbae8252a71905c1ef61a574
Subproject commit ef47b28ebdcecb27007e749f7275febf92bd71f2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment