Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

The assigned unit number is wrong #90

Closed
wzdev-ci opened this issue Oct 3, 2008 · 13 comments
Closed

The assigned unit number is wrong #90

wzdev-ci opened this issue Oct 3, 2008 · 13 comments

Comments

@wzdev-ci
Copy link
Contributor

wzdev-ci commented Oct 3, 2008

keyword_tower_sensor_assigned resolution_fixed type_bug | by Zoloom


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...


Issue migrated from trac:90 at 2022-04-15 17:43:39 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 5, 2008

Zoloom commented


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

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 7, 2008

i-NoD uploaded file assigned_counter.patch (1.0 KiB)

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 7, 2008

i-NoD changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 7, 2008

i-NoD changed blockedby which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 7, 2008

i-NoD commented


Hi,

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

@wzdev-ci
Copy link
Contributor Author

Giel commented


(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 The assigned unit number is wrong #90, patch by i-NoD, modified by me

@wzdev-ci
Copy link
Contributor Author

Giel changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Giel changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Giel commented


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

........
[6464] | 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 The assigned unit number is wrong #90, patch by i-NoD, modified by me
    ........

@wzdev-ci
Copy link
Contributor Author

Giel commented


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

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

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 21, 2008

Giel commented


Replying to Warzone2100/old-trac-import#90 (comment:5):

(In [6470]) Update French translation for the [milestone: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.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 8, 2010

Buginator removed milestone (was 2.1)

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 8, 2010

Buginator commented


Milestone 2.1 deleted

@wzdev-ci wzdev-ci mentioned this issue Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant