1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-22 17:22:21 -05:00

Make FreeBitmap less verbose

This commit is contained in:
Merlijn Wajer 2010-03-22 12:20:47 +01:00
parent d6c16560d5
commit 4697f46d39

View File

@ -390,11 +390,11 @@ begin
end;
FreeSpots[FreeSpotsHigh] := Number;
end;
//Just for testing purposes
{ //Just for testing purposes
if ToDestroy.BmpName = '' then
TClient(Self.Client).Writeln(Format('BMP[%d] has been freed.',[number]))
else
TClient(Self.Client).Writeln(Format('BMP[%s] has been freed.',[ToDestroy.BmpName]));
TClient(Self.Client).Writeln(Format('BMP[%s] has been freed.',[ToDestroy.BmpName])); }
ToDestroy.Free;
BmpArray[number] := nil;
end;