Revision 8991 Worker Bug

Bug #1432032 reported by Andre Novellino Gouvêa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
cybermind

Bug Description

A bug apparently was introduced with revision 8991; I had a worker gather lumber, and he got stuck after I ordered him to move away from the town hall while he was walking towards it. The worker simply wouldn't move anymore, and his "hardness" was moved to a tile near his.

Related branches

Revision history for this message
Andre Novellino Gouvêa (andre-ng) wrote :

This piece of code in int COrder_Resource::MoveToDepot(CUnit &unit) seems to be responsible:

 if (this->Finished) {
  return 0; // Could happen when mining near to depot
 }

description: updated
Revision history for this message
cybermind (iddqd-mail) wrote :

Fixed in rev.8993

Changed in stratagus:
status: New → Fix Committed
assignee: nobody → cybermind (iddqd-mail)
cybermind (iddqd-mail)
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.