From 8946a209831f125f84faa77b59d6bf32cca35873 Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 29 Jun 2019 17:54:09 +0200 Subject: fix hud render states; bug in coronas --- src/re3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/re3.cpp') diff --git a/src/re3.cpp b/src/re3.cpp index 4bdb5469..70601186 100644 --- a/src/re3.cpp +++ b/src/re3.cpp @@ -342,7 +342,7 @@ patch() { StaticPatcher::Apply(); - Patch(0x46BC61+6, 1.0f); // car distance +// Patch(0x46BC61+6, 1.0f); // car distance InjectHook(0x59E460, printf, PATCH_JUMP); InjectHook(0x475E00, printf, PATCH_JUMP); // _Error -- cgit v1.2.3 From 2115faec3867ada3a07aa7900ea0a871529343f3 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Sun, 30 Jun 2019 12:53:39 +0200 Subject: Cleanup project a bit --- src/re3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/re3.cpp') diff --git a/src/re3.cpp b/src/re3.cpp index 70601186..3df44620 100644 --- a/src/re3.cpp +++ b/src/re3.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include "common.h" #include "patcher.h" #include "Renderer.h" @@ -293,7 +293,7 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con strcat_s(re3_buff, re3_buffsize, "(Press Retry to debug the application)"); - nCode = ::MessageBoxA(NULL, re3_buff, "RE3 Assertion Failed!", + nCode = ::MessageBoxA(nil, re3_buff, "RE3 Assertion Failed!", MB_ABORTRETRYIGNORE|MB_ICONHAND|MB_SETFOREGROUND|MB_TASKMODAL); if (nCode == IDABORT) -- cgit v1.2.3