From c8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 Mon Sep 17 00:00:00 2001 From: hnOsmium0001 Date: Tue, 19 Apr 2022 12:44:21 -0700 Subject: Fix imgui include path, fix invalid #pragma's --- source/Player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Player.cpp') 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") -- cgit v1.2.3-70-g09d2