Minor changes.

This commit is contained in:
Dmitry 2019-07-28 23:21:24 +03:00 committed by jeefo
commit 54da53c5eb
5 changed files with 17 additions and 11 deletions

View file

@ -1653,7 +1653,7 @@ void BotControl::showMenu (int id) {
for (auto &display : m_menus) {
if (display.ident == id) {
const char *text = (game.is (GameFlags::Xash3D | GameFlags::Mobility) && !yb_display_menu_text.bool_ ()) ? " " : display.text.chars ();
auto text = (game.is (GameFlags::Xash3D | GameFlags::Mobility) && !yb_display_menu_text.bool_ ()) ? " " : display.text.chars ();
MessageWriter msg;
while (strlen (text) >= 64) {