equal
deleted
inserted
replaced
1799 |
1799 |
1800 procedure onFocusStateChanged; |
1800 procedure onFocusStateChanged; |
1801 begin |
1801 begin |
1802 if (not cHasFocus) and (GameState <> gsConfirm) then |
1802 if (not cHasFocus) and (GameState <> gsConfirm) then |
1803 ParseCommand('quit', true); |
1803 ParseCommand('quit', true); |
|
1804 {$IFDEF MOBILE} |
|
1805 // when created SDL receives an exposure event that calls UndampenAudio at full power, muting audio |
|
1806 exit; |
|
1807 {$ENDIF} |
1804 |
1808 |
1805 {$IFDEF USE_VIDEO_RECORDING} |
1809 {$IFDEF USE_VIDEO_RECORDING} |
1806 // do not change volume during prerecording as it will affect sound in video file |
1810 // do not change volume during prerecording as it will affect sound in video file |
1807 if not flagPrerecording then |
1811 if not flagPrerecording then |
1808 {$ENDIF} |
1812 {$ENDIF} |