From eeda5375a3730f0d1082e97985df6dde2466523b Mon Sep 17 00:00:00 2001 From: Dregu Date: Thu, 28 Sep 2023 22:34:32 +0300 Subject: [PATCH] thank you clang --- src/game_api/state.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/game_api/state.cpp b/src/game_api/state.cpp index 8da7d4fb0..7a4dd4dc6 100644 --- a/src/game_api/state.cpp +++ b/src/game_api/state.cpp @@ -290,7 +290,6 @@ State& State::get() strings_init(); init_state_update_hook(); - auto mem = Memory::get(); auto watermark_offset = get_address("destroy_game_manager") - 8; // pulled this out of a hat, its just a random place with some CCCC hopefully auto watermark = memory_read(watermark_offset); if (watermark != 0x4C4F4C4F)