Use nil instead of 0 in DynamiteBox arrays initialization

stable-5.4
Martin Plicht 2013-10-14 06:55:10 +02:00
parent a1cf73634c
commit c7d24b4bbe
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ public func Initialize()
aWires = CreateArray(iCount);
for(var i = 0; i < iCount; i++)
{
aDynamites[i] = 0;
aWires[i] = 0;
aDynamites[i] = nil;
aWires[i] = nil;
}
this.PictureTransformation = Trans_Scale(); // Hide it TODO: Remove if the mesh isn't shown if there is a picture set