Decompile fn_19842 (CEffectPrim::PrimExpandPulse)
Batch #12023 by Lumen: 0 byte-identical, 1 confirmed by peer review. - fn_19842 CEffectPrim::PrimExpandPulse: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev 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
18ed8cc485
commit
0795890246
1 changed files with 3 additions and 1 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"
|
||||
|
|
@ -5265,6 +5265,8 @@ void CEffectPrim::PrimExpandPulse() {
|
|||
if (slot.alphaB <= 0) {
|
||||
slot.alphaB = 0;
|
||||
}
|
||||
} else if (slot.flag1[1] == 16) {
|
||||
slot.alphaB = static_cast<std::int16_t>(slot.alphaB + 15);
|
||||
} else if (slot.flag1[1] != 24) {
|
||||
slot.alphaB = static_cast<std::int16_t>(slot.alphaB + 15);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue