aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscatterflower <2956568+scatterflower@users.noreply.github.com>2020-08-16 12:36:37 -0500
committerGitHub <noreply@github.com>2020-08-16 12:36:37 -0500
commite546ead1fa6d0f3c58fd7a429d36e2b2cb65ada5 (patch)
treef3c3d5b64608780b1a8abcdcdb416de453790261 /include
parenta31693323cbebc74fe2657df6dce07943e1bfdb2 (diff)
parent5c6dad88ce4d189152b5a52936f08b37b12ce0f1 (diff)
Merge pull request #1 from scatterflower/ic_fixes
Ic fixes
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index f1cb0265..a4bacc22 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -348,8 +348,10 @@ private:
// amount by which we multiply the delay when we parse punctuation chars
const int punctuation_modifier = 3;
- static const int chatmessage_size = 30;
- QString m_chatmessage[chatmessage_size];
+ // Minumum and maximum number of parameters in the MS packet
+ static const int MS_MINIMUM = 15;
+ static const int MS_MAXIMUM = 30;
+ QString m_chatmessage[MS_MAXIMUM];
bool chatmessage_is_empty = false;
QString previous_ic_message = "";