remove some plenks

no logic changes
This commit is contained in:
Matthias Mailänder
2013-06-17 20:46:38 +02:00
parent 875ac468d3
commit 6b261534d8
3 changed files with 73 additions and 73 deletions

View File

@@ -168,16 +168,16 @@ namespace OpenRA
return a.ActorID;
}
static bool TryGetActorFromUInt(World world, uint aID, out Actor ret )
static bool TryGetActorFromUInt(World world, uint aID, out Actor ret)
{
if( aID == 0xFFFFFFFF )
if (aID == 0xFFFFFFFF)
{
ret = null;
return true;
}
else
{
foreach( var a in world.Actors.Where( x => x.ActorID == aID ) )
foreach (var a in world.Actors.Where(x => x.ActorID == aID))
{
ret = a;
return true;