X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsetup.c;h=7c4fc88085bc28bace615f82fec30a274e7901a5;hb=494b886d5c5041013ea361a12a07d7cd87551d52;hp=967fbcfacd60a10e9f36eacfdcd74b3fbd11a3a7;hpb=bafa61706833e7bfe942c388471058749c20c79e;p=rocksndiamonds.git diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 967fbcfa..7c4fc880 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -302,8 +302,8 @@ char *setLevelArtworkDir(TreeInfo *ti) if (ti == NULL || leveldir_current == NULL) return NULL; - artwork_path_ptr = &(LEVELDIR_ARTWORK_PATH(leveldir_current, ti->type)); - artwork_set_ptr = &(LEVELDIR_ARTWORK_SET( leveldir_current, ti->type)); + artwork_path_ptr = LEVELDIR_ARTWORK_PATH_PTR(leveldir_current, ti->type); + artwork_set_ptr = LEVELDIR_ARTWORK_SET_PTR( leveldir_current, ti->type); checked_free(*artwork_path_ptr);