forked from VoxeLibre/VoxeLibre
Fix another crash, fix rail tee on texture
This commit is contained in:
parent
d2e1f8b1e2
commit
533005b0da
|
@ -307,7 +307,7 @@ local function do_movement_step(staticdata, dtime)
|
|||
local remaining_in_block = 1 - x_0
|
||||
|
||||
-- Calculate acceleration
|
||||
local v_0 = staticdata.velocity
|
||||
local v_0 = staticdata.velocity or 0
|
||||
local a = 0
|
||||
if staticdata.ahead or staticdata.behind then
|
||||
-- Calculate acceleration of the entire train
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 241 B |
Loading…
Reference in New Issue