diff options
author | orwell96 <mono96.mml@gmail.com> | 2016-07-04 12:13:43 +0200 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2016-07-04 12:13:43 +0200 |
commit | a6e19b76518000bae9ca163ce6855e56ee784267 (patch) | |
tree | cbf30248e7d1059fd461d0aca66e0e20e03ea0c2 | |
parent | 8c34eb0b1d1de44539e1e68f067c2b72e9b9914d (diff) | |
download | advtrains-a6e19b76518000bae9ca163ce6855e56ee784267.tar.gz advtrains-a6e19b76518000bae9ca163ce6855e56ee784267.tar.bz2 advtrains-a6e19b76518000bae9ca163ce6855e56ee784267.zip |
delete a comment
-rw-r--r-- | trainlogic.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/trainlogic.lua b/trainlogic.lua index 0cecc39..dca2863 100644 --- a/trainlogic.lua +++ b/trainlogic.lua @@ -577,7 +577,6 @@ function advtrains.try_connect_trains_and_check_collision(id1, id2) --0.5: some grace interval, since else the couple entity does not appear for i=(advtrains.get_train_end_index(train2)+0.5),train2.index-0.5 do local testpos=advtrains.get_real_index_position(train2.path,i) - --must look for center positions of both trains and compare these, else bugs. if vector.distance(testpos, backpos1) < 0.5 then --local v2_sign = math.sign(i - ((train2.index-0.5) - ( (train2.index-0.5)-(advtrains.get_train_end_index(train2)+0.5) / 2 ))) --TODO physics |