URL:
<http://gna.org/patch/?4694>
Summary: Remove game_unit_by_number() usage in
unit_transport_get()
Project: Freeciv
Submitted by: pepeto
Submitted on: Fri 16 May 2014 09:22:44 PM CEST
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
Comment says "Need this as the return value is not 'const'!" to justify the
usage of game_unit_by_number(), but actually the pointer doesn't have the
'const' flag.
Note there is something similar in unit_transport_check() but I failed to
understand what this function is supposed to do, so I didn't touch it.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 16 May 2014 09:22:44 PM CEST Name: unit_transport_get.patch Size:
548B By: pepeto
<http://gna.org/patch/download.php?file_id=20745>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4694>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev