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