[Freeciv-Dev] [bug #22380] Cannot jump from transport to another transport

2014-07-23 Thread pepeto
Update of bug #22380 (project freeciv):

  Status:  Ready For Test => Fixed  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #22380] Cannot jump from transport to another transport

2014-07-22 Thread pepeto
URL:
  

 Summary: Cannot jump from transport to another transport
 Project: Freeciv
Submitted by: pepeto
Submitted on: mar. 22 juil. 2014 12:31:04 CEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: pepeto
Originator Email: 
 Open/Closed: Open
 Release: 2.5.0-beta2, trunk
 Discussion Lock: Any
Operating System: Any
 Planned Release: 2.4.3, 2.5.0-beta2, 2.6.0

___

Details:

I have break it for fixing bug #22299. The problem is that could_unit_load()
return FALSE if the cargo is transported. I think this test is not at its
right place.

Comment for could_unit_load() says "Return TRUE iff the given unit could be
loaded into the transporter if we moved there". But if the cargo move to get
there, it would be not transported anyway.

Moved this test in can_unit_load(). I didn't observe anything wrong in S2_4,
but for cleaning up, I intend to move this test there too.




___

File Attachments:


---
Date: mar. 22 juil. 2014 12:31:04 CEST  Name:
trunk_S2_5_cargo_transported.patch  Size: 793 o   By: pepeto


---
Date: mar. 22 juil. 2014 12:31:04 CEST  Name: S2_4_cargo_transported.patch 
Size: 778 o   By: pepeto



___

Reply to this item at:

  

___
  Message posté via/par Gna!
  http://gna.org/


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