X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsetup.c;h=7c4fc88085bc28bace615f82fec30a274e7901a5;hb=cdc3c940197937b0508a1eb7dcf44874951908b7;hp=967fbcfacd60a10e9f36eacfdcd74b3fbd11a3a7;hpb=6890bb7cb72e140f4b82f35217655ae6c5213fec;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);