From 6247aad3d246053a1a5e9dae20bc34ead0ae6d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Tue, 1 Oct 2024 19:03:12 +0200 Subject: [PATCH] Try to fix editor crash when built with MSVC --- editor_patch/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor_patch/main.cpp b/editor_patch/main.cpp index 8bf010e8..df36add3 100644 --- a/editor_patch/main.cpp +++ b/editor_patch/main.cpp @@ -527,6 +527,7 @@ extern "C" DWORD DF_DLL_EXPORT Init([[maybe_unused]] void* unused) "maps3.txt", "maps4.txt", "maps_df.txt", + nullptr, }; write_mem_ptr(0x0041B813 + 1, maps_files_names); write_mem_ptr(0x0041B824 + 1, maps_files_names);