From: curt Date: Tue, 2 Mar 1999 01:03:58 +0000 (+0000) Subject: Added more reverse lookup support. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a4b54a331ddb53e41819788a6b1dc756333af43;p=flightgear.git Added more reverse lookup support. --- diff --git a/Polygon/names.cxx b/Polygon/names.cxx index 6d94f88c1..e70b2d479 100644 --- a/Polygon/names.cxx +++ b/Polygon/names.cxx @@ -78,7 +78,8 @@ AreaType get_area_type( string area ) { } else if ( (area == "Swamp or Marsh") || (area == "Marsh") ) { return MarshArea; - } else if ( area == "Bay Estuary or Ocean" ) { + } else if ( (area == "Bay Estuary or Ocean") + || (area == "Ocean") ) { return OceanArea; } else if ( area == "Lake" ) { return LakeArea; @@ -150,6 +151,9 @@ string get_area_name( AreaType area ) { // $Log$ +// Revision 1.3 1999/03/02 01:03:58 curt +// Added more reverse lookup support. +// // Revision 1.2 1999/03/01 15:35:52 curt // Generalized the routines a bit to make them more useful. //