From 734eb82fba18c0a6aca70427b4efe3d51203eb37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A1=D1=83=D1=85=D0=BE=D0=B2?= <22411953+Vladislav4KZ@users.noreply.github.com> Date: Sat, 10 Feb 2024 23:08:35 +0600 Subject: [PATCH] bot: enable speech at server startup for xash3d (#522) --- src/support.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/support.cpp b/src/support.cpp index dad09d6..107d1ef 100644 --- a/src/support.cpp +++ b/src/support.cpp @@ -271,9 +271,7 @@ void BotSupport::checkWelcome () { } if (m_welcomeReceiveTime > 0.0f && m_welcomeReceiveTime < game.time () && needToSendMsg) { - if (!game.is (GameFlags::Mobility | GameFlags::Xash3D)) { - game.serverCommand ("speak \"%s\"", m_sentences.random ()); - } + game.serverCommand ("speak \"%s\"", m_sentences.random ()); String authorStr = "Official Navigation Graph"; auto graphAuthor = graph.getAuthor ();