aboutsummaryrefslogtreecommitdiff
path: root/source/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Player.cpp')
-rw-r--r--source/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index 47c3ccc..f56d6ea 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -63,7 +63,7 @@ void Player::HandleKeyInput(int key, int action) {
}
}
-#pragma macro_push("PLAYERKEYBINDS_DO_IO")
+#pragma push_macro("PLAYERKEYBINDS_DO_IO")
#undef PLAYERKEYBINDS_DO_IO
#define PLAYERKEYBINDS_DO_IO(function, fieldPrefix) \
function(file, "left=%d\n", fieldPrefix keybinds.keyLeft); \
@@ -98,4 +98,4 @@ bool Player::SaveToFile() {
return true;
}
-#pragma macro_pop("PLAYERKEYBINDS_DO_IO")
+#pragma pop_macro("PLAYERKEYBINDS_DO_IO")