From: DeaDDooMER Date: Sun, 28 May 2023 17:04:34 +0000 (+0300) Subject: sound: fix build X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=a879253ca6e4b012482b1bd1250e242f661d8d8e;p=d2df-editor.git sound: fix build --- diff --git a/src/editor/f_addresource_sound.pas b/src/editor/f_addresource_sound.pas index 936adf5..a3d3fe1 100644 --- a/src/editor/f_addresource_sound.pas +++ b/src/editor/f_addresource_sound.pas @@ -109,7 +109,7 @@ begin FSoundEnabled := True; except - Application.MessageBox('Sound was disabled. Reason: ' + FMOD_ErrorString(res), 'FMOD Error', MB_OK or MB_ICONWARNING); + Application.MessageBox(PChar('Sound was disabled. Reason: ' + FMOD_ErrorString(res)), 'FMOD Error', MB_OK or MB_ICONWARNING); end; {$ENDIF}