Decompile 3 functions in Source/Client/Mode/GameModeActorEffects.cpp, Source/Client/Mode/CGameMode.h, ...
Batch #7443 by eAthena: 0 byte-identical, 3 confirmed by peer review. - fn_21289 CGameMode::RefreshActorJobEffects: logic confirmed by peer review - fn_13737 UIWindowMgr::ResetUIRectInfo: logic confirmed by peer review - fn_11325 UIItemStoreComboBoxWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, superintelligence, kyoshi, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/Client/Mode/GameModeActorEffects.cpp, Source/UI/Lists/UIItemStoreComboBox.cpp
This commit is contained in:
parent
5a65df7721
commit
2dcdf393ec
7 changed files with 179 additions and 1 deletions
19
Source/Client/Mode/GameModeActorEffects.cpp
Normal file
19
Source/Client/Mode/GameModeActorEffects.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "Client/Mode/CGameMode.h"
|
||||
#include "Contents/Actors/Pc.h"
|
||||
#include "Contents/World/World.h"
|
||||
|
||||
// OFFSET: 0x00CD6DD0
|
||||
// FUNCTION: fn_21289
|
||||
void CGameMode::RefreshActorJobEffects(bool playerOnly) {
|
||||
this->scene->player->ResetJobEffects();
|
||||
this->scene->player->sub_CAA4D0();
|
||||
if (!playerOnly) {
|
||||
for (std::list<CRenderObject*>::iterator it = this->scene->actors.begin(); it != this->scene->actors.end(); ++it) {
|
||||
CGameActor* actor = static_cast<CGameActor*>(*it);
|
||||
if (actor->unknown_02B4 != 0) {
|
||||
actor->ResetJobEffects();
|
||||
actor->sub_CAA4D0();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue