Changes between Initial Version and Version 2 of Ticket #1999


Ignore:
Timestamp:
Jun 24, 2013, 12:25:30 AM (11 years ago)
Author:
historic_bruno
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1999

    • Property Milestone BacklogAlpha 15
  • Ticket #1999 – Description

    initial v2  
    1 In UnitAI, when a unit is destroyed, the leave method of its current state is not called, thus forcing to dupplicate some code in the OnDestroy method. Presently, there are some code to clean timers or update some counters. But working on http://trac.wildfiregames.com/ticket/1391 I would need to add more.These would become useless if we are sure the leave method is always called. Here is a patch to fix that.
     1In UnitAI, when a unit is destroyed, the leave method of its current state is not called, thus forcing to dupplicate some code in the OnDestroy method. Presently, there are some code to clean timers or update some counters. But working on #1391 I would need to add more.These would become useless if we are sure the leave method is always called. Here is a patch to fix that.