Fixed missing distributor read and minor improvements

This commit is contained in:
Klaus Basan
2016-06-12 22:10:38 +02:00
parent 1fd645fce4
commit 959fc10c92
4 changed files with 12 additions and 15 deletions

View File

@@ -113,6 +113,7 @@ namespace BlackMisc
if (entities.testFlag(LiveryEntity)) { entities &= ~LiveryEntity; return LiveryEntity; }
if (entities.testFlag(CountryEntity)) { entities &= ~CountryEntity; return CountryEntity; }
if (entities.testFlag(ModelEntity)) { entities &= ~ModelEntity; return ModelEntity; }
if (entities.testFlag(DistributorEntity)) { entities &= ~DistributorEntity; return DistributorEntity; }
return NoEntity;
}