Permalink
Browse files

Use method-map .Style instead of GetMaxPageItems. (sm_msay patch) (#569)

  • Loading branch information...
1 parent ec45539 commit 02fcf37088edf09a6da42cf089c68033257b6ed9 @iNilo iNilo committed with psychonic Dec 12, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/basechat.sp
View
@@ -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++)

0 comments on commit 02fcf37

Please sign in to comment.