changed fatal error handling to use new error functions
[rocksndiamonds.git] / src / game.c
index ee3e97891eca48f6ce918a4a5bbae434c8b1c6f7..47fa48ad60b63225d2e8579b86fd7c7c627d07f0 100644 (file)
@@ -15836,7 +15836,7 @@ void CreateGameButtons(void)
                      GDI_END);
 
     if (gi == NULL)
-      Error(ERR_EXIT, "cannot create gadget");
+      Fail("cannot create gadget");
 
     game_gadget[id] = gi;
   }