mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
The worker bug ( found and fixed by silnarm )
http://glest.org/glest_board/index.php?topic=5508.0
This commit is contained in:
@@ -548,7 +548,7 @@ bool UnitType::isOfClass(UnitClass uc) const{
|
||||
case ucWarrior:
|
||||
return hasSkillClass(scAttack) && !hasSkillClass(scHarvest);
|
||||
case ucWorker:
|
||||
return hasSkillClass(scBuild) || hasSkillClass(scRepair);
|
||||
return hasSkillClass(scBuild) || hasSkillClass(scRepair)|| hasSkillClass(scHarvest);
|
||||
case ucBuilding:
|
||||
return hasSkillClass(scBeBuilt);
|
||||
default:
|
||||
|
Reference in New Issue
Block a user