src/disaster_cmd.cpp
branchnoai
changeset 10715 6bdf79ffb022
parent 10645 8cbdb511a674
child 10776 07203fc29812
equal deleted inserted replaced
10713:c5c9dc32c052 10715:6bdf79ffb022
  1048 {
  1048 {
  1049 	if (--_disaster_delay != 0) return;
  1049 	if (--_disaster_delay != 0) return;
  1050 
  1050 
  1051 	ResetDisasterDelay();
  1051 	ResetDisasterDelay();
  1052 
  1052 
  1053 	if (_opt.diff.disasters != 0) DoDisaster();
  1053 	if (_settings.difficulty.disasters != 0) DoDisaster();
  1054 }
  1054 }
  1055 
  1055 
  1056 void StartupDisasters()
  1056 void StartupDisasters()
  1057 {
  1057 {
  1058 	ResetDisasterDelay();
  1058 	ResetDisasterDelay();