Confirm 2 functions in Source/Client/Replay.h, Source/Client/Replay.cpp
Batch #12776 by cremane: 0 byte-identical, 2 confirmed by peer review. - fn_19300 Replay::Replay: logic confirmed by peer review (already on main) - fn_19319 Replay::ResetFile: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, gordaoprogramas, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
d530ba1819
commit
513f9f512d
1 changed files with 2 additions and 2 deletions
|
|
@ -60,10 +60,10 @@ struct ReplayHeader {
|
|||
// INLINED
|
||||
void Reset() {
|
||||
const ReplayOptions savedOptions = this->options;
|
||||
std::memset(this, 0, sizeof(*this));
|
||||
this->options = savedOptions;
|
||||
std::memset(&this->key0, 0, offsetof(ReplayHeader, options) - offsetof(ReplayHeader, key0));
|
||||
this->signature = 0x52414705;
|
||||
this->closingSignature = 0x52414705;
|
||||
this->options = savedOptions;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue