summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 17:35:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 17:35:37 +0300
commit741db9d3dea225873acac043a50900a9ca67b4c6 (patch)
tree222b0989a6384a68fbe97c0fe3459619e9344cec
parentc2aaab0b81248dea60472934c5be64c417376549 (diff)
downloadmanaplus-741db9d3dea225873acac043a50900a9ca67b4c6.tar.gz
manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.tar.bz2
manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.tar.xz
manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.zip
Fix compilation warning.
-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: