aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-01-29 12:52:51 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-01-29 12:52:51 +0100
commitbfd24ee43a10ab79674636e9dad725cdba093f63 (patch)
treefeab4ddb1db3ff45236d5fe27b1cfa88844d2f8f /advtrains
parent5f01cd2d5a1df2071579f4dcae0b83c65bc3111e (diff)
downloadadvtrains-bfd24ee43a10ab79674636e9dad725cdba093f63.tar.gz
advtrains-bfd24ee43a10ab79674636e9dad725cdba093f63.tar.bz2
advtrains-bfd24ee43a10ab79674636e9dad725cdba093f63.zip
Found out why collision box does not fit train
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/advtrains_train_subway/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/advtrains/advtrains_train_subway/init.lua b/advtrains/advtrains_train_subway/init.lua
index 1282ec7..faf8ceb 100644
--- a/advtrains/advtrains_train_subway/init.lua
+++ b/advtrains/advtrains_train_subway/init.lua
@@ -68,7 +68,8 @@ advtrains.register_wagon("subway_wagon", {
},
visual_size = {x=1, y=1},
wagon_span=2,
- collisionbox = {-1.0,-0.5,-1.8, 1.0,2.5,1.8},
+ --collisionbox = {-1.0,-0.5,-1.8, 1.0,2.5,1.8},
+ collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
is_locomotive=true,
drops={"default:steelblock 4"},
--custom_on_activate = function(self, dtime_s)