From a2a0d428541ebf71a327791ff03de05c64370994 Mon Sep 17 00:00:00 2001 From: num0005 Date: Tue, 24 Oct 2017 15:46:00 +0100 Subject: [PATCH] Fix release build We should work out why the debug build doesn't use unicode but the release does. --- H2Codez/H2Guerilla.cpp | 2 +- H2Codez/H2Guerilla.rc | Bin 4148 -> 4110 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/H2Codez/H2Guerilla.cpp b/H2Codez/H2Guerilla.cpp index eb5046d..ec61477 100644 --- a/H2Codez/H2Guerilla.cpp +++ b/H2Codez/H2Guerilla.cpp @@ -128,5 +128,5 @@ void H2GuerrilaPatches::Init() memset(CAST_PTR(void*,0x9AF809), 1, 1); // set is_expert_mode to one update_field_display(); toggle_display_templates(); - main_menu = LoadMenu(g_hModule, MAKEINTRESOURCE(GUERILLA_MENU)); + main_menu = LoadMenuA(g_hModule, MAKEINTRESOURCEA(GUERILLA_MENU)); } diff --git a/H2Codez/H2Guerilla.rc b/H2Codez/H2Guerilla.rc index c2fc8a802d79e8dcb2b4053e42ca2f7cf81a8a8a..e7a2a8535d598c795ae6a3517a1fd95ca37dac73 100644 GIT binary patch delta 86 zcmdm@(5J9rA0x9LgX`pjjH>!Tnjw@SgdvE*k->*She3fM7|3@5vK<-x7~C1+fh3ZO c&C*Qgd3pU9QW;7aN*Ib55*czPiwnpC049(Ti2wiq delta 140 zcmeBE*rKpuA0x9XgWu$XjH~3@KoPOBfQt MykZ8;$shS;0fZGB5C8xG