summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-07-06 10:43:36 +0000
committerhackykid <hackykid@openttd.org>2005-07-06 10:43:36 +0000
commite5df099c9b71669eac358469b58d01295f1a7c98 (patch)
tree6b1c7370c2d689ca1abecb87df754c6d2b001a19
parente4215f175160d2225020413e186c549f9bf659b7 (diff)
downloadopenttd-e5df099c9b71669eac358469b58d01295f1a7c98.tar.xz
(svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs.
-rw-r--r--docs/landscape.html4
-rw-r--r--pbs.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/landscape.html b/docs/landscape.html
index 7bbed0a5e..b2e307888 100644
--- a/docs/landscape.html
+++ b/docs/landscape.html
@@ -120,8 +120,8 @@ map5 bit 7 clear: railway track
<tr><td nowrap valign=top><tt>B</tt>&nbsp; </td><td align=left>fence on the N side (track in the S corner)</td></tr>
<tr><td nowrap valign=top><tt>C</tt>&nbsp; </td><td align=left>on snow or desert</td></tr>
</table></li>
-<li>map3_lo bits 0..3 = <a name="TrackType">track type</a>: <tt>0</tt> - conventional railway, <tt>1</tt> - monorail, <tt>2</tt> - maglev
-<li>map3_lo bits 4..7 = Pbs reserved status:
+<li>map3_hi bits 0..3 = <a name="TrackType">track type</a>: <tt>0</tt> - conventional railway, <tt>1</tt> - monorail, <tt>2</tt> - maglev
+<li>map3_hi bits 4..7 = Pbs reserved status:
<table>
<tr><td nowrap valign=top><tt>bits 4..6</tt>&nbsp; </td><td align=left>'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile</td></tr>
<tr><td nowrap valign=top><tt>bit 7</tt>&nbsp; </td><td align=left>If this is set, then the opposite track ('Track'number^1) is also reserved</td></tr>
diff --git a/pbs.c b/pbs.c
index fdb47854d..8edc0ae93 100644
--- a/pbs.c
+++ b/pbs.c
@@ -14,8 +14,8 @@
/* reserved track encoding:
normal railway tracks:
- map3lo bits 4..6 = 'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile
- map3lo bit 7 = if this is set, then the opposite track ('Track'number^1) is also reserved
+ map3hi bits 4..6 = 'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile
+ map3hi bit 7 = if this is set, then the opposite track ('Track'number^1) is also reserved
waypoints/stations:
map3lo bit 6 set = track is reserved
tunnels/bridges: