Decompile 4 functions in Source/Contents/Actors/RenderObjectState.h, Source/Contents/Actors/RenderObjectState.cpp, ...
Batch #1949 by ragnarok-clanker: 1 byte-identical, 3 confirmed by peer review. - fn_21086 RenderObjectState::Reset: logic confirmed by peer review - fn_19865 DrawEffectPrimitive15: logic confirmed by peer review - fn_19762 EffectPrimitiveSlot::EffectPrimitiveSlot: byte-identical (already on main) - fn_20088 UpdatePartyEffect: logic confirmed by peer review Peer-reviewed-by: Yommy 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
57e5de208c
commit
97cf23ebda
11 changed files with 175 additions and 171 deletions
|
|
@ -30,9 +30,9 @@ bool UpdatePartyEffect(
|
|||
}
|
||||
|
||||
const RenderObjectState& actor = effect.parent->render;
|
||||
render.position[0] = actor.position[0];
|
||||
render.position[1] = actor.position[1];
|
||||
render.position[2] = actor.position[2];
|
||||
render.position.x = actor.position.x;
|
||||
render.position.y = actor.position.y;
|
||||
render.position.z = actor.position.z;
|
||||
|
||||
if (effect.unknown_0178 == 9998) {
|
||||
effect.unknown_0178 = 0;
|
||||
|
|
@ -56,7 +56,7 @@ bool UpdatePartyEffect(
|
|||
state.textures[0] = textures.Load("effect\\party.tga", 0, false, true, false);
|
||||
}
|
||||
|
||||
render.position[1] = ground.Height(render.position[0], render.position[2]) - 2.0f;
|
||||
render.position.y = ground.Height(render.position.x, render.position.z) - 2.0f;
|
||||
++effect.unknown_0178;
|
||||
return effect.unknown_0178 < effect.lifetime;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue