From 02fcf37088edf09a6da42cf089c68033257b6ed9 Mon Sep 17 00:00:00 2001 From: iNilo Date: Mon, 12 Dec 2016 16:18:59 +0100 Subject: [PATCH] Use method-map .Style instead of GetMaxPageItems. (sm_msay patch) (#569) --- plugins/basechat.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/basechat.sp b/plugins/basechat.sp index 223dc7b6..c51c3930 100644 --- a/plugins/basechat.sp +++ b/plugins/basechat.sp @@ -407,7 +407,7 @@ void SendPanelToAll(int from, char[] message) mSayPanel.DrawItem("", ITEMDRAW_SPACER); mSayPanel.DrawText(message); mSayPanel.DrawItem("", ITEMDRAW_SPACER); - mSayPanel.CurrentKey = GetMaxPageItems(GetPanelStyle(mSayPanel)); + mSayPanel.CurrentKey = GetMaxPageItems(mSayPanel.Style); mSayPanel.DrawItem("Exit", ITEMDRAW_CONTROL); for(int i = 1; i <= MaxClients; i++)