mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed broken get_perk_available script function.
This commit is contained in:
@@ -526,6 +526,7 @@ const DWORD pc_flag_toggle_ = 0x42E2B0;
|
||||
const DWORD perform_withdrawal_end_ = 0x47A558;
|
||||
const DWORD perk_add_ = 0x496A5C;
|
||||
const DWORD perk_add_effect_ = 0x496BFC;
|
||||
const DWORD perk_can_add_ = 0x49680C;
|
||||
const DWORD perk_description_ = 0x496BB4;
|
||||
const DWORD perk_init_ = 0x4965A0;
|
||||
const DWORD perk_level_ = 0x496B78;
|
||||
|
||||
@@ -734,6 +734,7 @@ extern const DWORD pc_flag_toggle_;
|
||||
extern const DWORD perform_withdrawal_end_;
|
||||
extern const DWORD perk_add_;
|
||||
extern const DWORD perk_add_effect_;
|
||||
extern const DWORD perk_can_add_;
|
||||
extern const DWORD perk_description_;
|
||||
extern const DWORD perk_init_;
|
||||
extern const DWORD perk_level_;
|
||||
|
||||
@@ -85,7 +85,7 @@ static void __declspec(naked) GetPerkAvailable() {
|
||||
jge fail;
|
||||
mov edx, eax;
|
||||
mov eax, ds:[_obj_dude];
|
||||
call perk_make_list_;
|
||||
call perk_can_add_;
|
||||
mov edx, eax;
|
||||
jmp end;
|
||||
fail:
|
||||
|
||||
Reference in New Issue
Block a user