aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainlogic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/trainlogic.lua')
-rw-r--r--advtrains/trainlogic.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua
index 94d5980..ad51c42 100644
--- a/advtrains/trainlogic.lua
+++ b/advtrains/trainlogic.lua
@@ -474,8 +474,8 @@ function advtrains.train_step_b(id, train, dtime)
local pdist = train.path_dist[math.floor(train.index)] or 1
local distance = (train.velocity*dtime) / pdist
- --TODO debugging code
- train.debug = atdump(train.ctrl).."step_dist: "..math.floor(distance*1000)
+ --debugging code
+ --train.debug = atdump(train.ctrl).."step_dist: "..math.floor(distance*1000)
train.index=train.index+distance