(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
This commit is contained in:
@@ -20,6 +20,6 @@
|
||||
* @param tracks available tracks on the new tile (to choose from)
|
||||
* @return the best trackdir for next turn or INVALID_TRACK if the path could not be found
|
||||
*/
|
||||
Track NPFShipChooseTrack(class Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks);
|
||||
Track NPFShipChooseTrack(const Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks);
|
||||
|
||||
#endif /* NPF_FUNC_H */
|
||||
|
||||
Reference in New Issue
Block a user