mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Lined up some code in MiscPatches.cpp.
This commit is contained in:
@@ -11,4 +11,4 @@ SaveSfallDataFail=ERROR saving extended savegame information! Check if other pro
|
||||
[AppearanceMod]
|
||||
RaceText=Race
|
||||
StyleText=Style
|
||||
MainButtonText=Appearance
|
||||
MainButtonText=Appearance
|
||||
|
||||
@@ -154,13 +154,13 @@ static void __declspec(naked) register_object_take_out_hack() {
|
||||
push ecx
|
||||
push eax
|
||||
mov ecx, edx // ID1
|
||||
mov edx, [eax + 0x1C] // cur_rot
|
||||
mov edx, [eax + 0x1C] // cur_rot
|
||||
inc edx
|
||||
push edx // ID3
|
||||
xor ebx, ebx // ID2
|
||||
mov edx, [eax + 0x20] // fid
|
||||
and edx, 0xFFF // Index
|
||||
xor eax, eax
|
||||
mov edx, [eax + 0x20] // fid
|
||||
and edx, 0xFFF // Index
|
||||
xor eax, eax
|
||||
inc eax // Obj_Type
|
||||
call fo::funcoffs::art_id_
|
||||
xor ebx, ebx
|
||||
|
||||
Reference in New Issue
Block a user