From d78a55de5003dbb040f1d1c369409e63a2c806d8 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Tue, 19 Apr 2022 12:44:29 -0700 Subject: Changeset: 15 Fix imgui include path, fix invalid #pragma's --- source/Player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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