comparison rogue5/mach_dep.c @ 117:2c62bd925c17

rogue5: save the game when SIGHUP is received. This vital feature was turned off by default, requiring DUMP to be defined to turn it on. DUMP has the opposite effect in the other games.
author John "Elwin" Edwards
date Sat, 26 Apr 2014 08:52:26 -0700
parents 655c317b6237
children e52a8a7ad4c5
comparison
equal deleted inserted replaced
116:97f8fdf9595c 117:2c62bd925c17
163 */ 163 */
164 164
165 void 165 void
166 setup(void) 166 setup(void)
167 { 167 {
168 #ifdef DUMP 168 #ifndef DUMP
169 md_onsignal_autosave(); 169 md_onsignal_autosave();
170 #else 170 #else
171 md_onsignal_default(); 171 md_onsignal_default();
172 #endif 172 #endif
173 173