Remove obsolete Player index cruft

This commit is contained in:
Paul Chote
2011-06-17 22:17:03 +12:00
parent bcbd18bb52
commit 532bd42aed
20 changed files with 49 additions and 64 deletions

View File

@@ -127,7 +127,7 @@ namespace OpenRA
public static int hash_player( Player p )
{
if( p != null )
return p.Index * 0x567;
return (int)( p.PlayerActor.ActorID << 16 ) * 0x567;
return 0;
}