<URL: http://bugs.freeciv.org/Ticket/Display.html?id=37627 >

 $subject


 - ML

diff -Nurd -X.diff_ignore freeciv/common/movement.c freeciv/common/movement.c
--- freeciv/common/movement.c	2007-03-06 05:35:14.000000000 +0200
+++ freeciv/common/movement.c	2007-03-06 06:24:07.000000000 +0200
@@ -129,15 +129,6 @@
 
 
 /****************************************************************************
-  Return TRUE iff this unit type is an air unit type (including missiles).
-****************************************************************************/
-bool is_air_unittype(const struct unit_type *punittype)
-{
-  return (get_unit_move_type(punittype) == AIR_MOVING);
-}
-
-
-/****************************************************************************
   Return TRUE iff this unit type is a ground/land/normal unit type.
 ****************************************************************************/
 bool is_ground_unittype(const struct unit_type *punittype)
diff -Nurd -X.diff_ignore freeciv/common/movement.h freeciv/common/movement.h
--- freeciv/common/movement.h	2007-03-06 05:35:14.000000000 +0200
+++ freeciv/common/movement.h	2007-03-06 06:24:17.000000000 +0200
@@ -26,7 +26,6 @@
 bool is_air_unit(const struct unit *punit);
 bool is_ground_unit(const struct unit *punit);
 bool is_sailing_unittype(const struct unit_type *punittype);
-bool is_air_unittype(const struct unit_type *punittype);
 bool is_ground_unittype(const struct unit_type *punittype);
 
 bool is_native_tile(const struct unit_type *punittype,
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to