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

 $subject


 - ML

diff -Nurd -X.diff_ignore freeciv/common/movement.c freeciv/common/movement.c
--- freeciv/common/movement.c	2007-03-03 23:18:05.000000000 +0200
+++ freeciv/common/movement.c	2007-03-05 01:07:18.000000000 +0200
@@ -111,15 +111,6 @@
 
 
 /****************************************************************************
-  Return TRUE iff this unit is a helicopter unit.
-****************************************************************************/
-bool is_heli_unit(const struct unit *punit)
-{
-  return (get_unit_move_type(unit_type(punit)) == HELI_MOVING);
-}
-
-
-/****************************************************************************
   Return TRUE iff this unit is a ground/land/normal unit.
 ****************************************************************************/
 bool is_ground_unit(const struct unit *punit)
diff -Nurd -X.diff_ignore freeciv/common/movement.h freeciv/common/movement.h
--- freeciv/common/movement.h	2007-01-25 17:59:51.000000000 +0200
+++ freeciv/common/movement.h	2007-03-05 01:07:25.000000000 +0200
@@ -24,7 +24,6 @@
 
 bool is_sailing_unit(const struct unit *punit);
 bool is_air_unit(const struct unit *punit);
-bool is_heli_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);
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to