[Freeciv-Dev] [bug #21668] Ferry stats not updated when unit changes type

2014-02-24 Thread Marko Lindqvist
Update of bug #21668 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?21668

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21668] Ferry stats not updated when unit changes type

2014-02-22 Thread Marko Lindqvist
Follow-up Comment #4, bug #21668 (project freeciv):

- Version to apply to S2_5 is different now

(file #20140)
___

Additional Item Attachment:

File name: FerryTransformed-S2_5-3.patch  Size:7 KB


___

Reply to this item at:

  http://gna.org/bugs/?21668

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21668] Ferry stats not updated when unit changes type

2014-02-21 Thread Marko Lindqvist
Follow-up Comment #3, bug #21668 (project freeciv):

- Updated against svn HEAD

(file #20139)
___

Additional Item Attachment:

File name: FerryTransformed-3.patch   Size:7 KB


___

Reply to this item at:

  http://gna.org/bugs/?21668

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21668] Ferry stats not updated when unit changes type

2014-02-19 Thread Marko Lindqvist
Follow-up Comment #2, bug #21668 (project freeciv):

While it's nice to have ferry stats correct and not nagging, they are
primarily just an debugging tool. But usually the same bug that causes ferry
stats to go off has some more serious consequences too. In the case I were
debugging the bug turned out to be that former Caravel and potential cargo
wasted many turns still heading towards rendezvous point after former had been
upgraded to Ironclad.

___

Reply to this item at:

  http://gna.org/bugs/?21668

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21668] Ferry stats not updated when unit changes type

2014-02-17 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?21668

 Summary: Ferry stats not updated when unit changes type
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 18 Feb 2014 01:54:10 AM EET
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.5.0, 2.6.0

___

Details:

AI ferry stats are not updated if unit is upgraded or converted such a way
that its dai_is_ferry() status changes.

Fix attached.
- Introduce unit_transformed(punit, old_type) AI type callback
- Default AI updates ferry stats in that callback

Too intrusive for S2_4 (ferry stats will not be completely fixed there)






___

File Attachments:


---
Date: Tue 18 Feb 2014 01:54:10 AM EET  Name: FerryTransformed.patch  Size: 7kB
  By: cazfi

http://gna.org/bugs/download.php?file_id=20093

___

Reply to this item at:

  http://gna.org/bugs/?21668

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev