Decompile 2 functions in Source/Contents/Actors/MercenaryAI.cpp, Source/Contents/Actors/MercenaryAI.h
Batch #1021 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review. - fn_22327 CMercenaryAI::CMercenaryAI: logic confirmed by peer review - fn_22328 CMercenaryAI::~CMercenaryAI: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
7d9b244fb1
commit
e21c7e6235
1 changed files with 10 additions and 0 deletions
|
|
@ -5,8 +5,18 @@ extern "C" {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00D9E3F0
|
||||
// FUNCTION: fn_22327
|
||||
CMercenaryAI::CMercenaryAI(int kind) : state(nullptr), actionStarted(0), actionDuration(0), kind(kind), lastTick(0) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x00D9E430
|
||||
// FUNCTION: fn_22328
|
||||
CMercenaryAI::~CMercenaryAI() {
|
||||
if (this->state) {
|
||||
lua_close(this->state);
|
||||
this->state = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00D9E570
|
||||
// FUNCTION: fn_22331
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue