Author Topic: BUG - Enemy workers repaired YOUR buildings  (Read 1055 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
BUG - Enemy workers repaired YOUR buildings
« on: 25 April 2011, 00:01:49 »
Really late bug report for 0.3.2 (sorry I haven't tested in 0.4 beta yet):

Magic versus tech, I had a game on a map meant for 2v2 by accident, causing an opponent to be right next to me, which resulted in immediate anarchy. After destroying their castle, which the workers were auto-repairing, the workers came over an repaired my damaged mage tower. Not only are they repairing someone on the wrong team, but the mage tower is the wrong faction and not on the list of units they can repair.

Sorry if this has already been fixed by now.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: BUG - Enemy workers repaired YOUR buildings
« Reply #1 on: 28 April 2011, 08:12:06 »
I committed a fix now (d7ff2a5e..). I only tested human repairing AI unit but it should apply the other way too. Not being in the repair list might still be an issue.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Zoythrus

  • Guest
Re: BUG - Enemy workers repaired YOUR buildings
« Reply #2 on: 28 April 2011, 15:09:58 »
although, it would be nice if you could have your men repair an ally's buildings if they are damaged. (seems like a 'duh!' kinda thing) but the whole building repair limitation is a problem....

 

anything