chatlib: do not send chat messages to controlled bots

graph: first try more memory friendly bsp size check
build: restore ssse3 & ssse3 instructions (use nosmid version if needed)
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
jeefo 2025-02-28 00:39:52 +03:00
commit 855fb903b6
No known key found for this signature in database
GPG key ID: D696786B81B667C8
13 changed files with 76 additions and 41 deletions

View file

@ -1159,7 +1159,12 @@ void Game::printBotVersion () {
}
if (is (GameFlags::Xash3D)) {
gameVersionStr.append (" @ Xash3D Engine");
if (is (GameFlags::Xash3DLegacy)) {
gameVersionStr.append (" @ Xash3D (Old)");
}
else {
gameVersionStr.append (" @ Xash3D FWGS");
}
if (is (GameFlags::Mobility)) {
gameVersionStr.append (" Mobile");
@ -1414,7 +1419,7 @@ template <typename S, typename M> bool LightMeasure::recursiveLightPoint (const
// compute the lightmap color at a particular point
for (int maps = 0; maps < MAX_LIGHTMAPS && surf->styles[maps] != 255; ++maps) {
const uint32_t scale = m_lightstyleValue[surf->styles[maps]];
const auto scale = static_cast <int32_t> (m_lightstyleValue[surf->styles[maps]]);
m_point.red += lightmap->r * scale;
m_point.green += lightmap->g * scale;