Skip to content

Commit 68242b5

Browse files
author
Hirundo
committed
Fix (r1526): Actually implement those constants mentioned in the documentation.
1 parent 0dc4ff6 commit 68242b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nml/global_constants.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,12 @@
506506
'TILETYPE_RAIN_FOREST' : 0x02,
507507
'TILETYPE_SNOW' : 0x04,
508508

509+
# Water classes
510+
'WATER_CLASS_NONE' : 0,
511+
'WATER_CLASS_SEA' : 1,
512+
'WATER_CLASS_CANAL' : 2,
513+
'WATER_CLASS_RIVER' : 3,
514+
509515
#level crossing status as returned by railtypes varaction2 0x42
510516
'LEVEL_CROSSING_CLOSED' : 1,
511517
'LEVEL_CROSSING_OPEN' : 0,

0 commit comments

Comments
 (0)