diff options
author | hnOsmium0001 <[email protected]> | 2022-04-19 12:44:21 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-04-19 12:44:29 -0700 |
commit | c8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 (patch) | |
tree | 180ebc73527d9db9df1a1c021caa889bc834fcdc /source | |
parent | 54e2e09ef1203d71e503c79d2eddadfa71b88322 (diff) |
Fix imgui include path, fix invalid #pragma's
Diffstat (limited to 'source')
-rw-r--r-- | source/Player.cpp | 4 |
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") |