]> git.mxchange.org Git - flightgear.git/commitdiff
Added more reverse lookup support.
authorcurt <curt>
Tue, 2 Mar 1999 01:03:58 +0000 (01:03 +0000)
committercurt <curt>
Tue, 2 Mar 1999 01:03:58 +0000 (01:03 +0000)
Polygon/names.cxx

index 6d94f88c1b5b0842961e33a15d3f325fdb107a34..e70b2d4797550fc7d1be64230bf0fb041033c13e 100644 (file)
@@ -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.
 //