1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-09-05 00:58:08 +03:00
parent 609f25f344
commit 1a82280cb2
3 changed files with 4 additions and 2 deletions

View File

@@ -224,6 +224,8 @@ bool PlayerColor::isSpectator() const
std::string PlayerColor::toString() const
{
if (num == -1)
return "neutral";
return encode(num);
}