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:
ragnarok-clanker 2026-11-07 10:38:27 +00:00
commit 142e722e45

View file

@ -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;
}