src/disaster_cmd.cpp
branchNewGRF_ports
changeset 10731 67db0d431d5e
parent 10724 68a692eacf22
child 10991 d8811e327d12
equal deleted inserted replaced
10724:68a692eacf22 10731:67db0d431d5e
  1051 {
  1051 {
  1052 	if (--_disaster_delay != 0) return;
  1052 	if (--_disaster_delay != 0) return;
  1053 
  1053 
  1054 	ResetDisasterDelay();
  1054 	ResetDisasterDelay();
  1055 
  1055 
  1056 	if (_opt.diff.disasters != 0) DoDisaster();
  1056 	if (_settings.difficulty.disasters != 0) DoDisaster();
  1057 }
  1057 }
  1058 
  1058 
  1059 void StartupDisasters()
  1059 void StartupDisasters()
  1060 {
  1060 {
  1061 	ResetDisasterDelay();
  1061 	ResetDisasterDelay();