Decompile fn_07856 (CGifRes::Slot02)
Batch #14431 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_07856 CGifRes::Slot02: logic confirmed by peer review Peer-reviewed-by: Yommy, secret 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
29414afccf
commit
142e722e45
1 changed files with 6 additions and 1 deletions
|
|
@ -156,7 +156,12 @@ void CGifRes::Unload() {
|
|||
// FUNCTION: fn_07856
|
||||
void CGifRes::Slot02() {
|
||||
const std::size_t count = this->frames.size();
|
||||
if (count <= 1 || this->currentFrame >= count) {
|
||||
if (count <= 1) {
|
||||
this->frameChanged = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (this->currentFrame >= count) {
|
||||
this->frameChanged = false;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue