mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Less leaks.
This commit is contained in:
@@ -115,6 +115,12 @@ public:
|
||||
|
||||
CCastleInterface::CCastleInterface(const CGTownInstance * Town, bool Activate)
|
||||
{
|
||||
int t = 600;
|
||||
while(t--)
|
||||
{
|
||||
CDefHandler* defik = CGI->spriteh->giveDef("ITMTL.DEF");
|
||||
delete defik;
|
||||
}
|
||||
count=0;
|
||||
town = Town;
|
||||
townInt = CGI->bitmaph->loadBitmap("TOWNSCRN.bmp");
|
||||
|
||||
Reference in New Issue
Block a user