diff options
Diffstat (limited to 'Game/Code/Classes/UMain.pas')
-rw-r--r-- | Game/Code/Classes/UMain.pas | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index 40b91be7..82fb92e4 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -588,9 +588,14 @@ begin // Log.LogStatus('Beat ' + IntToStr(Czas.AktBeat) + ' HalfBeat ' + IntToStr(Czas.AktHalf), 'NewBeat'); // beep; + // On linux we get an AV @ NEWNOTE, line 600 of Classes/UMain.pas + if not assigned( Sound ) then // TODO : JB_Linux ... why is this now not assigned... it was fine a few hours ago.. + exit; + // analizuje dla obu graczy ten sam sygnal (Sound.OneSrcForBoth) // albo juz lepiej nie - for CP := 0 to PlayersPlay-1 do begin + for CP := 0 to PlayersPlay-1 do + begin // analyze buffer Sound[CP].AnalizujBufor; |