Commit 891e6558 authored by nanahira's avatar nanahira

Merge branch 'next-mt' of github.com:moecube/ygopro into server-develop

parents 35a24f1e 8852d5f2
......@@ -572,7 +572,7 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
rh.base.flag = REPLAY_UNIFORM;
rh.base.start_time = (uint32_t)std::time(nullptr);
#ifdef YGOPRO_SERVER_MODE
if(pre_seed_specified[duel_count])
if (pre_seed_specified[duel_count])
memcpy(rh.seed_sequence, pre_seed[duel_count], SEED_COUNT * sizeof(uint32_t));
else
#endif
......
......@@ -547,7 +547,7 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
rh.base.flag = REPLAY_UNIFORM | REPLAY_TAG;
rh.base.start_time = (uint32_t)std::time(nullptr);
#ifdef YGOPRO_SERVER_MODE
if(pre_seed_specified[0])
if (pre_seed_specified[0])
memcpy(rh.seed_sequence, pre_seed[0], SEED_COUNT * sizeof(uint32_t));
else
#endif
......
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