fixed bug when creating static mappings of elements to graphics
[rocksndiamonds.git] / build-scripts / create_element_defs.pl
index db4d42a9e806107b4e9a63d3832afae8b1727920..2022b746eae8cb55929fbe4c5dab238030be18ec 100755 (executable)
@@ -1573,7 +1573,7 @@ sub print_element_to_graphic_list
        {
            print_element_to_graphic_entry($element_without_action,
                                           $gfx_action,
-                                          '-1',
+                                          $gfx_direction,
                                           $gfx_crumbled,
                                           $graphic);
        }