From 89119880b5423e612bc8136bd1a25d2c9d025e0f Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Tue, 13 Jan 2015 21:33:11 -0600 Subject: [PATCH] Use BfRead tag in umsg hook typedef, rather than a generic Handle. --- plugins/include/usermessages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/usermessages.inc b/plugins/include/usermessages.inc index d2bbfedb..2e90ed1a 100644 --- a/plugins/include/usermessages.inc +++ b/plugins/include/usermessages.inc @@ -163,7 +163,7 @@ native EndMessage(); * blocks the message from being sent, and Plugin_Continue * resumes normal functionality. */ -typedef MsgHook = function Action (UserMsg msg_id, Handle msg, const int[] players, int playersNum, bool reliable, bool init); +typedef MsgHook = function Action (UserMsg msg_id, BfRead msg, const int[] players, int playersNum, bool reliable, bool init); /** * Called when a message hook has completed.