Follow-up Comment #11, patch #1574 (project freeciv): The script api can use nations as object, so the argument can be (Nation_Type *). That allows nil as empty value.
In the api you find nations with n = find.nation_type("Greek") so a typical use would be (when non-nil) player = create_player("Rufus", find.nation_type("Greek")) _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1574> _______________________________________________ Meddelandet skickades via/av Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev