[Dedicated] Optimize say hook

This commit is contained in:
momo5502 2017-02-05 11:21:25 +01:00
parent 58a76eb52e
commit e2efb1b695

View File

@ -98,9 +98,16 @@ namespace Components
mov eax, [esp + 100h + 10h] mov eax, [esp + 100h + 10h]
push eax push eax
call EvaluateSay pushad
push eax
call Dedicated::EvaluateSay
add esp, 4h add esp, 4h
mov [esp + 20h], eax
popad
pop eax
mov [esp + 100h + 10h], eax mov [esp + 100h + 10h], eax
jmp Colors::CleanStrStub jmp Colors::CleanStrStub