- fix mem growth bug

This commit is contained in:
Ilya Shurumov 2021-05-18 01:29:16 +06:00 committed by InspirationByte
parent f7ced7ddd6
commit 26e4e8fff3

View File

@ -466,7 +466,7 @@ int CalcInGameCutsceneSize(void)
maxSize += MAX(CutsceneHeader.data[0].size, CutsceneHeader.data[1].size); maxSize += MAX(CutsceneHeader.data[0].size, CutsceneHeader.data[1].size);
CutsceneBuffer.reservedSize += maxSize; CutsceneBuffer.reservedSize = maxSize;
CutsceneBuffer.buffer = D_MALLOC(CutsceneBuffer.reservedSize); CutsceneBuffer.buffer = D_MALLOC(CutsceneBuffer.reservedSize);
} }