diff options
Diffstat (limited to 'engines/kyra/text_hof.cpp')
-rw-r--r-- | engines/kyra/text_hof.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/kyra/text_hof.cpp b/engines/kyra/text_hof.cpp index 754183df18..a5b6835e27 100644 --- a/engines/kyra/text_hof.cpp +++ b/engines/kyra/text_hof.cpp @@ -447,9 +447,7 @@ void KyraEngine_HoF::updateDlgBuffer() { if (_flags.platform != Common::kPlatformPC || _flags.isTalkie) filename[11] = suffix[_lang]; - if (_dlgBuffer) - delete[] _dlgBuffer; - + delete[] _dlgBuffer; _dlgBuffer = _res->fileData(filename, 0); } |