URL: <http://gna.org/patch/?1335>
Summary: map_has_startpos() Project: Freeciv Submitted by: cazfi Submitted on: Friday 10/16/2009 at 14:56 Category: general Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.2.0 _______________________________________________________ Details: Some parts of the startpos code assume there is always nation associated with startpos, other parts assume there can be startpos usable by any nation. Attached patch makes it possible to store startpos with NULL nation startpos hash in map.c. New function map_has_startpos() is added since map_get_startpos() will return NULL both when there is no startpos and when there is startpos with NULL nation. This patch is required by my Editor startpos support patches. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Friday 10/16/2009 at 14:56 Name: MapHasStartpos.diff Size: 3kB By: cazfi <http://gna.org/patch/download.php?file_id=7007> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1335> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev