[Colors] Make hook secure

This commit is contained in:
momo5502 2017-06-22 18:31:06 +02:00
parent e75c662687
commit 1685a61288

View File

@ -208,12 +208,12 @@ namespace Components
{
__asm
{
push ebx
push [esp + 8h] // Index
pushad
push [esp + 24h] // Index
push esi // Color ref
call Colors::LookupColor
add esp, 8h
pop ebx
popad
retn
}
}