diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 30d629852..0afb36b42 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1162,6 +1162,8 @@ void LocalPlayer::attributeChanged(const AttributesT id, const int oldVal, const int newVal) { + PRAGMA("GCC diagnostic push") + PRAGMA("GCC diagnostic ignored \"-Wswitch-enum\"") switch (id) { case Attributes::EXP: @@ -1185,6 +1187,7 @@ void LocalPlayer::attributeChanged(const AttributesT id, default: break; } + PRAGMA("GCC diagnostic pop") } void LocalPlayer::move(const int dX, const int dY) |