case KT_quit:
handle_cmd(CT_quit, NULL);
return 1;
+ case KT_pause:
+ handle_cmd(CT_pause, NULL);
+ return 1;
default:
return 0;
}
// global actions (always possible, even if not playing)
if (handle_key(key)) return;
- // actions available while in game
- switch (key) {
- case KT_pause:
- return handle_cmd(CT_pause, NULL);
- }
-
if (Players[me].alive <= 0 || paused) return;
// actions only available while actually playing
switch (key) {