Decompile 2 functions in Source/Contents/Effects/EffectPrimitiveMotion.cpp
Batch #12504 by unna: 0 byte-identical, 2 confirmed by peer review. - fn_19773 CEffectPrim::Prim3DCasting4: logic confirmed by peer review - fn_19774 CEffectPrim::Prim3DCasting5: logic confirmed by peer review Peer-reviewed-by: Yommy, dori 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
17fa9829a4
commit
dc86e77204
1 changed files with 7 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "Contents/Effects/EffectPrimitiveMotion.h"
|
||||
#include "Contents/Effects/EffectPrimitiveMotion.h"
|
||||
#include "Client/Mode/CGameMode.h"
|
||||
#include "Client/Mode/ModeMgr.h"
|
||||
#include "Client/Replay.h"
|
||||
|
|
@ -348,10 +348,10 @@ bool CEffectPrim::Prim3DCasting4() {
|
|||
|
||||
for (int value = 0; value < 21; ++value) {
|
||||
if (slot.flag1[value] == 0) {
|
||||
slot.height[value] = slot.maxHeight;
|
||||
this->state.slots[index].height[value] = slot.maxHeight;
|
||||
|
||||
if (slot.height[value] < 0.0f) {
|
||||
slot.height[value] = 0;
|
||||
if (this->state.slots[index].height[value] < 0.0f) {
|
||||
this->state.slots[index].height[value] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -408,10 +408,10 @@ bool CEffectPrim::Prim3DCasting5() {
|
|||
|
||||
for (int value = 0; value < 21; ++value) {
|
||||
if (slot.flag1[value] == 0) {
|
||||
slot.height[value] = slot.maxHeight;
|
||||
this->state.slots[index].height[value] = slot.maxHeight;
|
||||
|
||||
if (slot.height[value] < 0.0f) {
|
||||
slot.height[value] = 0;
|
||||
if (this->state.slots[index].height[value] < 0.0f) {
|
||||
this->state.slots[index].height[value] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue