Code cleanup (#188)
This commit is contained in:
parent
df53c16620
commit
010fd9402a
185 changed files with 1052 additions and 1271 deletions
|
|
@ -657,7 +657,7 @@ namespace Server.Engines.ConPVP
|
|||
m_PerPage = perPage;
|
||||
|
||||
index = Math.Max(m_Page * perPage, 0);
|
||||
count = Math.Max(Math.Min(m_List.Count - index, perPage), 0);
|
||||
count = Math.Clamp(m_List.Count - index, 0, perPage);
|
||||
|
||||
y = 53 + (12 - perPage) * 18;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue