mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Merge branch 'master' of https://github.com/tmj-fstate/maszyna into milek-dev
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"
|
||||
@@ -245,6 +246,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