News:

If you are a developer, please build MegaGlest on your own and get in touch to contribute (or post your patches on the forums).

Main Menu

BUG?: v0.3-0.3.1 Transport units attack command

Started by ChupaReaper, 18 October 2010, 18:27:45

ChupaReaper

I have two units that can fire a projectile attack and can load and unload, when I right click an enemy it says "Can't load units of that type." Same for when I choose the attack command and tell it to attack. I have to walk it up near the enemy so that it attacks automatically.

Zoythrus

strange, because it worked fine for me! show me your code...maybe i can help you.

Omega

Hmm, I haven't tested in 0.3.1, but I recall something like this in 0.3.

The transport units are new, so there's bound to be a few bugs still...
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

silnarm

Thanks, looks like some "double checking" is going on, Unit::computeCommandType() is giving the correct results, but then some code in back in Commander::tryGiveCommand() is ignoring this result if the selected unit is a carrier.

Ticket #235.

Glest Advanced Engine - Code Monkey

Timeline | Downloads