rendered paste bodyIndex: disaster_cmd.c===================================================================--- disaster_cmd.c (revision 2236)+++ disaster_cmd.c (working copy)@@ -947,14 +947,14 @@ #define MK(a,b) {a-20,b-20} static const DisasterYears _dis_years[8] = {- MK(30,55),- MK(40,70),- MK(60,90),- MK(70,100),- MK(100,200),- MK(40,65),- MK(75,110),- MK(50,85),+// MK(30,55),+// MK(40,70),+// MK(60,90),+// MK(70,100),+// MK(100,200),+// MK(40,65),+// MK(75,110),+// MK(50,85), }; @@ -965,14 +965,14 @@ int i,j; for(i=j=0; i!=lengthof(_dis_years); i++) {- if (year >= _dis_years[i].min &&- year < _dis_years[i].max)+ //if (year >= _dis_years[i].min &&+ // year < _dis_years[i].max) buf[j++] = i; } if (j == 0) return;-+ IConsoleError("Doing disaster!"); _disaster_initprocs[buf[(uint16)Random() * j >> 16]](); } Index: console_cmds.c===================================================================--- console_cmds.c (revision 2236)+++ console_cmds.c (working copy)@@ -116,6 +116,7 @@ DEF_CONSOLE_CMD(ConResetEngines) { StartupEngines();+ // Run "resetengines" in the console+ _disaster_delay = 1; return 0; }