chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0c05a
)
wip - before change future to ETA
author
ian
<ian>
Sun, 13 Feb 2005 15:29:19 +0000
(15:29 +0000)
committer
ian
<ian>
Sun, 13 Feb 2005 15:29:19 +0000
(15:29 +0000)
hostside/safety.c
patch
|
blob
|
history
diff --git
a/hostside/safety.c
b/hostside/safety.c
index 85198d4949066045ccf173fc89c1053642b28162..b33984cf092be3378aa591e466cb2227f453733f 100644
(file)
--- a/
hostside/safety.c
+++ b/
hostside/safety.c
@@
-99,6
+99,8
@@
void safety_train_changed(TrainNum tran) {
head= tra->backwards ? trai->tail : trai->head;
future= tra->speed * SPEED_CLEAR_MULT;
+
+ ec= 0;
lay_train(tran, &ec, tloc, head + future, 0,0,0,1);
lay_train(tran, &ec, tloc, head, 0,0,1,1);
lay_train(tran, &ec, tloc, future, 0,1,0,1);