From 398fdba3f5e1bfbccc5d56c08701b1587895aefc Mon Sep 17 00:00:00 2001 From: Paul Broadhead Date: Thu, 17 Oct 2024 21:14:12 +0100 Subject: [PATCH] Fix map editor build. --- io/elpathwrapper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io/elpathwrapper.c b/io/elpathwrapper.c index 6796848af..dec22e297 100644 --- a/io/elpathwrapper.c +++ b/io/elpathwrapper.c @@ -192,9 +192,11 @@ const char * get_path_updates(void) return locbuffer; } +#ifndef MAP_EDITOR if (alt_updates_dir[0] != '\0') safe_snprintf(locbuffer, sizeof(locbuffer), "%s", alt_updates_dir); else +#endif safe_snprintf(locbuffer, sizeof(locbuffer), "%supdates/%d_%d_%d/", get_path_config_base(), VER_MAJOR, VER_MINOR, VER_RELEASE); return locbuffer;