From fdffa365b9b568ae152cd14d754a14f73d64860b Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Sun, 19 Aug 2012 06:51:16 -0300 Subject: [PATCH] Oops --- src/otclient/protocolgameparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otclient/protocolgameparse.cpp b/src/otclient/protocolgameparse.cpp index 090acb54..d9b0b3dc 100644 --- a/src/otclient/protocolgameparse.cpp +++ b/src/otclient/protocolgameparse.cpp @@ -968,7 +968,7 @@ void ProtocolGame::parseSpellCooldown(const InputMessagePtr& msg) int spellId = msg->getU8(); int delay = msg->getU32(); - g_lua.callGlobalField("g_game", "onSpellCooldown", delay); + g_lua.callGlobalField("g_game", "onSpellCooldown", spellId, delay); } void ProtocolGame::parseSpellGroupCooldown(const InputMessagePtr& msg)