   Script function returning incorrect value
  Ive tried to gut as much code as possible while maintaining the bug. Although getPendingMats() is always returning false, the value stored in bb is always TRUE.Modifying unrelated code also changes this output so something is wrong here... its been driving me nuts for a few hours!bool getPendingMats(Sprite@ spr, Material@&out TL, Material@&out TR, Material@&out BL, Material@&out BR){msg("Returning false...","",MT_CONSOLE);return false;}void paintFloor(Sprite@ spr, Material@ mat){if(isFloor(spr) == false)return;PFC c;@c.spr = spr;@c.fd = floorDescGetByMats(c.angle,mat,mat,mat,mat);addToPendingList(c);NxVec3 pos = spr.getPos();pos[2] += 6.0f;Sprite@ side = spriteEngineFindPoint(pos);Material@[] center(4);bool bb = getPendingMats(side, center[0], center[1], center[2], center[3]);if(bb == true)msg("RETURNED TRUE","",MT_CONSOLE);elsemsg("RETURNED FALSE","",MT_CONSOLE);}   
  Problem was fixed by changing bool getPendingMats(Sprite@ spr, Material@&out TL, Material@&out TR, Material@&out BL, Material@&out BR)tobool getPendingMats(Sprite@ spr, Material@[]@ mats);  Looks like a temporary variable is getting incorrectly overwritten in AS. I'll look into this right away.   ;  I've now fixed this bug in SVN revision 644. Thanks.   