mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 11:09:19 +02:00
Merge branch 'milek-dev' into gfx-work
This commit is contained in:
@@ -1003,6 +1003,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