summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/being.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 7f7c9fa65..7688a300d 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2055,6 +2055,7 @@ void Being::setDefaultNameColor(const UserColorIdT defaultColor)
switch (mTeamId)
{
case 0:
+ default:
mNameColor = &userPalette->getColor(defaultColor);
break;
case 1: