Decompile fn_19032 (CEZ2STRScreenEffect::ApplyHeadOffset)

Batch #11458 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_19032 CEZ2STRScreenEffect::ApplyHeadOffset: logic confirmed by peer review

Peer-reviewed-by: gordaoprogramas, KWDev, cremane, raiken
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-05 16:43:26 +00:00
commit a6b620aae6

View file

@ -1399,7 +1399,7 @@ bool CEZ2STRScreenEffect::ApplyHeadOffset(CEZ2STRParticle* particle) {
float shiftX = offsetX * factor;
float shiftY = factor * offsetY;
if (shiftX < 0.0f && shiftY < 0.0f) {
if (!(shiftX >= 0.0f || shiftY >= 0.0f)) {
return false;
}