diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-16 17:35:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-16 17:35:37 +0300 |
commit | 741db9d3dea225873acac043a50900a9ca67b4c6 (patch) | |
tree | 222b0989a6384a68fbe97c0fe3459619e9344cec /src/being/being.cpp | |
parent | c2aaab0b81248dea60472934c5be64c417376549 (diff) | |
download | manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.tar.gz manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.tar.bz2 manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.tar.xz manaplus-741db9d3dea225873acac043a50900a9ca67b4c6.zip |
Fix compilation warning.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 1 |
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: |