Mercurial > mm7
diff UI/Books/UISpellBook.cpp @ 1607:d4282f59f312
Слияние
author | Ritor1 |
---|---|
date | Wed, 11 Sep 2013 00:16:58 +0600 |
parents | 75fafd8ced59 |
children | d28d3c006077 |
line wrap: on
line diff
--- a/UI/Books/UISpellBook.cpp Wed Sep 11 00:16:49 2013 +0600 +++ b/UI/Books/UISpellBook.cpp Wed Sep 11 00:16:58 2013 +0600 @@ -11,7 +11,6 @@ #include "..\..\Party.h" #include "..\..\AudioPlayer.h" #include "..\..\LOD.h" -#include "..\..\Allocator.h" #include "..\..\Viewport.h" #include "..\..\texts.h" #include "..\..\mm7_data.h" @@ -45,13 +44,13 @@ //----- (00411597) -------------------------------------------------------- void OnCloseBook() { - pAllocator->FreeChunk(pSpellFont); + free(pSpellFont); pSpellFont = nullptr; - pAllocator->FreeChunk(pBookFont); + free(pBookFont); pBookFont = nullptr; - pAllocator->FreeChunk(pBook2Font); + free(pBook2Font); pBook2Font = nullptr; - pAllocator->FreeChunk(pAutonoteFont); + free(pAutonoteFont); pAutonoteFont = nullptr; pTexture_mapbordr->Release(); pAudioPlayer->PlaySound(SOUND_CloseBook, 0, 0, -1, 0, 0, 0, 0);