Decompile fn_24280 (CArrowEffect::OnProcess)
Batch #16109 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_24280 CArrowEffect::OnProcess: logic confirmed by peer review Peer-reviewed-by: alisonrag, youko 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
af1f0cb451
commit
3207dd57b9
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ void CArrowEffect::Reset() {
|
|||
|
||||
// OFFSET: 0x00E4BE60
|
||||
// FUNCTION: fn_24280
|
||||
bool CArrowEffect::OnProcess() {
|
||||
__declspec(safebuffers) bool CArrowEffect::OnProcess() {
|
||||
float frame = static_cast<float>(static_cast<double>(timeGetTime() - this->render.motionStartTime) / 24.0);
|
||||
if (this->startFrame > frame) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue