equal
deleted
inserted
replaced
1632 } |
1632 } |
1633 break; |
1633 break; |
1634 case WE_DESTROY: |
1634 case WE_DESTROY: |
1635 /* pause is only used in single-player, non-editor mode, non menu mode */ |
1635 /* pause is only used in single-player, non-editor mode, non menu mode */ |
1636 if (!_networking && _game_mode != GM_EDITOR && _game_mode != GM_MENU) { |
1636 if (!_networking && _game_mode != GM_EDITOR && _game_mode != GM_MENU) { |
1637 DoCommandP(0, 0, 0, NULL, CMD_PAUSE); |
1637 if (_pause_game >= 0) DoCommandP(0, 0, 0, NULL, CMD_PAUSE); |
1638 } |
1638 } |
1639 FiosFreeSavegameList(); |
1639 FiosFreeSavegameList(); |
1640 ClrBit(_no_scroll, SCROLL_SAVE); |
1640 ClrBit(_no_scroll, SCROLL_SAVE); |
1641 break; |
1641 break; |
1642 case WE_RESIZE: { |
1642 case WE_RESIZE: { |
1724 InitializeTextBuffer(&WP(w, querystr_d).text, _edit_str_buf, lengthof(_edit_str_buf), 240); |
1724 InitializeTextBuffer(&WP(w, querystr_d).text, _edit_str_buf, lengthof(_edit_str_buf), 240); |
1725 |
1725 |
1726 /* pause is only used in single-player, non-editor mode, non-menu mode. It |
1726 /* pause is only used in single-player, non-editor mode, non-menu mode. It |
1727 * will be unpaused in the WE_DESTROY event handler. */ |
1727 * will be unpaused in the WE_DESTROY event handler. */ |
1728 if (_game_mode != GM_MENU && !_networking && _game_mode != GM_EDITOR) { |
1728 if (_game_mode != GM_MENU && !_networking && _game_mode != GM_EDITOR) { |
1729 DoCommandP(0, 1, 0, NULL, CMD_PAUSE); |
1729 if (_pause_game >= 0) DoCommandP(0, 1, 0, NULL, CMD_PAUSE); |
1730 } |
1730 } |
1731 |
1731 |
1732 BuildFileList(); |
1732 BuildFileList(); |
1733 |
1733 |
1734 ResetObjectToPlace(); |
1734 ResetObjectToPlace(); |