mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Fix incorrect assert of LinkGraph LastCompression date
This commit is contained in:
parent
69ae516353
commit
ff0d212705
@ -4555,7 +4555,7 @@ void DeleteStaleLinks(Station *from)
|
||||
|
||||
return result;
|
||||
});
|
||||
assert(_state_ticks >= lg->LastCompression());
|
||||
assert(_scaled_tick_counter >= lg->LastCompression());
|
||||
if ((_scaled_tick_counter - lg->LastCompression()) > LinkGraph::COMPRESSION_INTERVAL) {
|
||||
lg->Compress();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user