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:
parent
d6c16560d5
commit
4697f46d39
@ -390,11 +390,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
FreeSpots[FreeSpotsHigh] := Number;
|
FreeSpots[FreeSpotsHigh] := Number;
|
||||||
end;
|
end;
|
||||||
//Just for testing purposes
|
{ //Just for testing purposes
|
||||||
if ToDestroy.BmpName = '' then
|
if ToDestroy.BmpName = '' then
|
||||||
TClient(Self.Client).Writeln(Format('BMP[%d] has been freed.',[number]))
|
TClient(Self.Client).Writeln(Format('BMP[%d] has been freed.',[number]))
|
||||||
else
|
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;
|
ToDestroy.Free;
|
||||||
BmpArray[number] := nil;
|
BmpArray[number] := nil;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user