Commit 3146f390 authored by edo9300's avatar edo9300 Committed by GitHub

Update old_replay_mode.cpp

parent 628821ba
......@@ -221,6 +221,7 @@ namespace ygo {
char filename[256];
size_t slen = cur_replay.ReadInt16();
cur_replay.ReadData(filename, slen);
filename[slen] = 0;
if(!preload_script(pduel, filename, slen))
return false;
}
......@@ -845,4 +846,4 @@ namespace ygo {
return 0;
}
}
\ No newline at end of file
}
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