Merge pull request #198 from Crystalwarrior/bugfix/max_colors

Fix max colors being one int off
This commit is contained in:
oldmud0 2020-07-26 11:17:50 -05:00 committed by GitHub
commit 1bccc5c3d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1591,7 +1591,7 @@ void Courtroom::on_chat_return_pressed()
if (text_color < 0)
f_text_color = "0";
else if (text_color > max_colors)
else if (text_color >= max_colors)
f_text_color = "0";
else
f_text_color = QString::number(text_color);

View File

@ -378,7 +378,7 @@ void Lobby::on_about_clicked()
"Robotic Overlord, Shadowlions (aka Shali), Sierra, SomeGuy, "
"Veritas, Wiso"
"<p><b>Special thanks:</b><br>"
"CrazyJC and MaximumVolty (2.8 release); "
"CrazyJC (2.8 release director) and MaximumVolty (2.8 release promotion); "
"Remy, Hibiki, court-records.net (sprites); Qubrick (webAO); "
"Rue (website); Draxirch (UI design); "
"Lewdton and Argoneus (tsuserver); "