diff options
| author | scatterflower <marisaposs@gameboyprinter.moe> | 2020-08-16 06:50:19 -0500 |
|---|---|---|
| committer | scatterflower <marisaposs@gameboyprinter.moe> | 2020-08-16 06:50:19 -0500 |
| commit | 11250e13864dc5e3cdd799b02498905c58db55ea (patch) | |
| tree | 5461a543f1dead3b01599f394cfffb392f7d9239 /include | |
| parent | ec1c95bdb33dd063880c4cb6c3c9c3cf5d0ed454 (diff) | |
Ensure consistent behavior in IC log, clarify showname logic, and define constants for minimum and maximum packet sizes
Diffstat (limited to 'include')
| -rw-r--r-- | include/courtroom.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 182c2a68..6132ed9c 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -349,8 +349,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 = ""; |
