aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_event.h')
-rw-r--r--commands/command_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/command_event.h b/commands/command_event.h
index a363540d5..b7e67f218 100644
--- a/commands/command_event.h
+++ b/commands/command_event.h
@@ -79,9 +79,11 @@ private:
bool workToBeDone() override;
void undoit() override;
void redoit() override;
+ void post() const; // Called to fix up dives should a gas-change have happened.
OwningEventPtr eventToAdd; // for undo
event *eventToRemove; // for redo
+ int cylinder; // affected cylinder (if removing gas switch). <0: not a gas switch.
};
class AddGasSwitch : public EventBase {