Feature #23 ยป 0020-Make-alt-terrain-gfx-tags-optional.patch
| 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]; | ||