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

 This removes obsoleted is_heli_unittype()


 - ML

diff -Nurd -X.diff_ignore freeciv/common/movement.c freeciv/common/movement.c
--- freeciv/common/movement.c	2007-01-22 17:18:36.000000000 +0200
+++ freeciv/common/movement.c	2007-01-24 17:24:33.000000000 +0200
@@ -147,15 +147,6 @@
 
 
 /****************************************************************************
-  Return TRUE iff this unit type is a helicopter unit type.
-****************************************************************************/
-bool is_heli_unittype(const struct unit_type *punittype)
-{
-  return (get_unit_move_type(punittype) == HELI_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	2006-07-25 13:42:32.000000000 +0300
+++ freeciv/common/movement.h	2007-01-24 17:24:41.000000000 +0200
@@ -28,7 +28,6 @@
 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_heli_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