added some safety checks
[rocksndiamonds.git] / src / tools.c
index 954e7a63c83ed8adb95db77cbb2d981e77d4ba32..a4cabfdaddd20b15192ed0c13287a84ec14ea1ff 100644 (file)
@@ -10710,6 +10710,9 @@ void InitGraphicInfo_BD(void)
 {
   int i, j;
 
+  if (graphic_info == NULL)            // still at startup phase
+    return;
+
   // always start with reliable default values
   for (i = 0; i < O_MAX_ALL; i++)
   {