Project

General

Profile

Feature #23 ยป 0020-Make-alt-terrain-gfx-tags-optional.patch

Marko Lindqvist, 12/04/2023 04:15 AM

View differences:

server/ruleset.c
sz_strlcpy(pterrain->graphic_str,
secfile_lookup_str(file, "%s.graphic", tsection));
sz_strlcpy(pterrain->graphic_alt,
secfile_lookup_str(file, "%s.graphic_alt", tsection));
secfile_lookup_str_default(file, "-",
"%s.graphic_alt", tsection));
sz_strlcpy(pterrain->graphic_alt2,
secfile_lookup_str(file, "%s.graphic_alt2", tsection));
secfile_lookup_str_default(file, "-",
"%s.graphic_alt2", tsection));
pterrain->identifier
= secfile_lookup_str(file, "%s.identifier", tsection)[0];
    (1-1/1)