Update TerminateRound code and gamedata for update.

This commit is contained in:
Ruben Gonzalez 2014-07-11 09:18:47 -04:00
parent b0bfec0f8f
commit 9e1fef9775
2 changed files with 1 additions and 3 deletions

View File

@ -372,12 +372,10 @@ static cell_t CS_TerminateRound(IPluginContext *pContext, const cell_t *params)
float delay = sp_ctof(params[1]); float delay = sp_ctof(params[1]);
int reason = params[2]; int reason = params[2];
signed int unknown = 1;//We might want to find what this is?
__asm __asm
{ {
push reason push reason
movss xmm1, delay movss xmm1, delay
mov edi, unknown
mov ecx, gamerules mov ecx, gamerules
call addr call addr
} }

View File

@ -96,7 +96,7 @@
"TerminateRound" "TerminateRound"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\x2A\x2A\x83\x2A\x2A\x53\x56\x8B\xF1\xF3\x0F\x2A\x2A\x2A\x2A\x57\x33\xFF\x89\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x00\x00\x00\x00" "windows" "\x55\x8B\xEC\x83\x2A\x2A\x83\x2A\x2A\x53\x56\x57\x8B\xF9\xF3\x0F\x2A\x2A\x2A\x2A\x33\xDB\xC7\x2A\x2A\x2A\x00\x00\x00\x00\x89"
"linux" "@_ZN12CCSGameRules14TerminateRoundEfi" "linux" "@_ZN12CCSGameRules14TerminateRoundEfi"
"mac" "@_ZN12CCSGameRules14TerminateRoundEfi" "mac" "@_ZN12CCSGameRules14TerminateRoundEfi"
} }