mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
cab change logic tweak, event launcher execution fix
This commit is contained in:
@@ -950,6 +950,9 @@ basic_region::on_click( TAnimModel const *Instance ) {
|
||||
// legacy method, polls event launchers around camera
|
||||
void
|
||||
basic_region::update_events() {
|
||||
|
||||
if( false == simulation::is_ready ) { return; }
|
||||
|
||||
// render events and sounds from sectors near enough to the viewer
|
||||
auto const range = EU07_SECTIONSIZE; // arbitrary range
|
||||
auto const §ionlist = sections( Global.pCamera.Pos, range );
|
||||
|
||||
Reference in New Issue
Block a user