From Gabriel Pérez-Cerezo to ~gpcf/advtrains-devel
Applied the patch. Thank you.
From Gabriel Pérez-Cerezo to ~gpcf/advtrains-devel
Applied, thank you for testing.
From Gabriel Pérez-Cerezo to ~gpcf/advtrains-devel
Blockhead <jbis1337@hotmail.com> writes: > This reduces the difficulty of having to point at the centre of the > correct track node, and hopefully does not prevent placing tracks in > more than a couple of cases. Three-way turnouts on an angle may be > an exception but they may be worth it. User feedback is needed. does this patch push the selection box above the level crossing nodes from moreblocks?
From Gabriel Pérez-Cerezo to ~gpcf/misc-patches
The current way how we use this function was to set a random password to prevent new users from joining at all, so if people wanted to join, we reset the password to some known value, and let people join.
From Gabriel Pérez-Cerezo to ~gpcf/advtrains
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua index 00c04bf..fcf180a 100644 --- a/advtrains/trainlogic.lua +++ b/advtrains/trainlogic.lua @@ -641,7 +641,7 @@ function advtrains.train_step_b(id, train, dtime) if target_is_inside then local our_index = advtrains.path_project(otrn, ref_index, id) --atdebug("Backprojected our_index",our_index) - if our_index and our_index <= new_index_curr_tv then + if our_index and our_index > -1 and our_index <= new_index_curr_tv then
From Gabriel Pérez-Cerezo to ~gpcf/advtrains
Patch applied.
From Gabriel Pérez-Cerezo to ~gpcf/advtrains
I got an observations: How does the _c table gain more than one entry? I would make the compiler slightly smarter to only create _c and _w tables if absolutely needed by the commands, which would simplify the code a lot. I don't know how table.concat actually works, but it seems to me that it could add a fair bit of overhead for something that could be fixed at compile-time even if it concats a single entry, just by virtue of pairs() being quite inefficient.
From Gabriel Pérez-Cerezo to ~gpcf/advtrains
Merged, thanks.
From Gabriel Pérez-Cerezo to ~gpcf/test
--- gpcf | 1 + 1 file changed, 1 insertion(+) create mode 100644 gpcf diff --git a/gpcf b/gpcf new file mode 100644 index 0000000..66cb3d4 --- /dev/null +++ b/gpcf @@ -0,0 +1 @@ -- 2.20.1 I have successfully used git send-email![message trimmed]
From Gabriel Pérez-Cerezo to ~sircmpwn/email-test-drive
--- gpcf | 1 + 1 file changed, 1 insertion(+) create mode 100644 gpcf diff --git a/gpcf b/gpcf new file mode 100644 index 0000000..66cb3d4 --- /dev/null +++ b/gpcf @@ -0,0 +1 @@ -- 2.20.1 I have successfully used git send-email![message trimmed]