Modify

Ticket #90 (closed bug: fixed)

Opened 2 years ago

Last modified 4 months ago

The assigned unit number is wrong

Reported by: Zoloom Owned by:
Priority: minor Milestone:
Component: other Version: 2.1_beta5 (unsupported!)
Keywords: tower sensor assigned Cc: zoloom@…
Operating System: GNU/Linux Blocked By:
Blocking:

Description

In a party i assigned some VTOL to a sensor tower (for air units). They attack correctly when my base is attacked, but when i click on the tower i have something like that :

"0 units assigned"

But i have in fact 6 VTOL assigned...

Attachments

assigned_counter.patch Download (987 bytes) - added by i-NoD 21 months ago.

Change History

comment:1 Changed 2 years ago by Zoloom

  • Cc zoloom@… added

The same bug is present for all buildings where you can assign units.

Changed 21 months ago by i-NoD

comment:2 Changed 21 months ago by i-NoD

Hi,
I think this patch might help. It's for svn/trunk but can be applied without modifications to 2.1 branch (countAssignedDroids() function).

comment:3 Changed 21 months ago by Giel

  • Status changed from new to closed
  • Resolution set to fixed

(In [6464]) * Make function countAssignedDroids static because it's only used in the file where it's defined

  • Code clean up
  • Make countAssignedDroids const correct
  • Make countAssignedDroids return the amount of artillery and VTOL droids that are assigned to a structure
    • This fixes #90, patch by i-NoD, modified by me

comment:4 Changed 21 months ago by Giel

(In [6465]) Merged revision r6464 into the 2.1 branch via svnmerge from trunk

........

r6464 | muggenhor | 2008-12-13 18:58:25 +0100 (za, 13 dec 2008) | 5 lines

  • Make function countAssignedDroids static because it's only used in the file where it's defined
  • Code clean up
  • Make countAssignedDroids const correct
  • Make countAssignedDroids return the amount of artillery and VTOL droids that are assigned to a structure
    • This fixes #90, patch by i-NoD, modified by me

........

comment:5 follow-up: ↓ 6 Changed 21 months ago by Giel

(In [6470]) Update French translation for the 2.1 branch

This addresses #90 by backporting its changes (though more than just #90 is backported)

comment:6 in reply to: ↑ 5 Changed 21 months ago by Giel

Replying to Giel:

(In [6470]) Update French translation for the 2.1 branch

This addresses #90 by backporting its changes (though more than just #90 is backported)

Oh, oops that number should have been #191. My bad.

comment:7 Changed 4 months ago by Buginator

  • Milestone 2.1 deleted

Milestone 2.1 deleted

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.