fixed potential crash bug for special versions without "classic" artwork
authorHolger Schemel <info@artsoft.org>
Mon, 4 Feb 2019 21:44:54 +0000 (22:44 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 4 Feb 2019 21:44:54 +0000 (22:44 +0100)
commit81978d087d71b598d29647a007ae9f90077cab87
tree73bf7dcfa293ac12c78ab77081a7e4084bc4aa12
parent54d132a180d8c428eb05c41b72b410ff1623994f
fixed potential crash bug for special versions without "classic" artwork

This bug can happen when using the program binary within a special,
customized version of R'n'D like "R'n'D jue" that does not contain
the usual "classic" artwork (like the graphics set "gfx_classic").

The problem is solved by doing a fallback to the default artwork set
(as it can be defined using "default_graphics_set") if the "classic"
artwork set cannot be found.
src/libgame/setup.c
src/libgame/system.h