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:
parent
fca6e138e5
commit
a6b620aae6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue