changed handling of deactivated gadgets (undefined bitmap or off-screen)
[rocksndiamonds.git] / src / libgame / gadgets.h
index 6482e44e3c6e19054b7e6ea89d16421ad5e00f2e..8cd4716c133e40fcd70794de9a0d35b125effccf 100644 (file)
@@ -225,6 +225,8 @@ struct GadgetWheelArea
 
 struct GadgetInfo
 {
+  boolean deactivated;                 /* flag to deactivate gadget */
+
   int id;                              /* internal gadget identifier */
   int custom_id;                       /* custom gadget identifier */
   int custom_type_id;                  /* custom gadget type identifier */