Skip to content

Commit

Permalink
Fix map editor build.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbroad committed Oct 17, 2024
1 parent ebbffac commit 398fdba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions io/elpathwrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 398fdba

Please sign in to comment.