Batch #3126 by youko: 3 byte-identical, 0 confirmed by peer review. - fn_06825 CAcidifiedThrow::Slot06: byte-identical - fn_06841 CAxeBoomerang::Slot06: byte-identical - fn_06876 CCaneOfEvilEyeEffect::RemoveNullEmitters: byte-identical Merged automatically: every function is byte-identical to the original. Adds to the build: Source/Contents/Effects/AcidifiedThrow.cpp, Source/Contents/Effects/AstralStrikeEffect.cpp, Source/Contents/Effects/AxeBoomerang.cpp, Source/Contents/Effects/AMachineEffect.cpp, Source/Contents/Effects/BlastForge.cpp, Source/Contents/Effects/CaneOfEvilEyeEffect.cpp
26 lines
578 B
C++
26 lines
578 B
C++
#include "Contents/Effects/CaneOfEvilEyeEffect.h"
|
|
|
|
#include <windows.h>
|
|
#include <timeapi.h>
|
|
|
|
// OFFSET: 0x006F86B0
|
|
|
|
// OFFSET: 0x006F8E70
|
|
// FUNCTION: fn_06876
|
|
void CCaneOfEvilEyeEffect::RemoveNullEmitters() {
|
|
for (auto it = this->unknown_00D0.begin(); it != this->unknown_00D0.end();) {
|
|
if (*it == nullptr) {
|
|
it = this->unknown_00D0.erase(it);
|
|
} else {
|
|
++it;
|
|
}
|
|
}
|
|
|
|
for (auto it = this->unknown_00DC.begin(); it != this->unknown_00DC.end();) {
|
|
if (*it == nullptr) {
|
|
it = this->unknown_00DC.erase(it);
|
|
} else {
|
|
++it;
|
|
}
|
|
}
|
|
}
|