Fix another crash, fix rail tee on texture
This commit is contained in:
parent
686ffe13c2
commit
b9671247e2
|
@ -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