mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 04:19:19 +02:00
Merge branch 'milek-dev' into gfx-work
This commit is contained in:
@@ -17,6 +17,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "simulationtime.h"
|
||||
#include "simulationenvironment.h"
|
||||
#include "lightarray.h"
|
||||
#include "particles.h"
|
||||
#include "Train.h"
|
||||
#include "Driver.h"
|
||||
#include "DynObj.h"
|
||||
@@ -256,6 +257,8 @@ driver_mode::update() {
|
||||
simulation::Region->update_sounds();
|
||||
audio::renderer.update( Global.iPause ? 0.0 : deltarealtime );
|
||||
|
||||
// NOTE: particle system runs on simulation time, but needs actual camera position to determine how to update each particle source
|
||||
simulation::Particles.update();
|
||||
GfxRenderer.Update( deltarealtime );
|
||||
|
||||
simulation::is_ready = true;
|
||||
|
||||
Reference in New Issue
Block a user