summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-26 15:43:37 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-26 15:43:37 +0200
commitd5d545887569f9b11fa6aa16eee524afec3da19e (patch)
tree77e211e01c9b711cf68dc9c808c52795c27a3d00 /src/game/game.hpp
parent193f7a17d2e4ab99ed0cd909c696c3f0b9833041 (diff)
Fix ambience being calculated incorrectly (regression from 4cfe1361f).
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 4066b02..c378524 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -94,6 +94,7 @@ namespace interface {
void stop_following(void);
public:
+ rectf_t world_view;
v3f_t camera_3d; // for audio
void tick(double dt);
@@ -134,7 +135,7 @@ namespace game {
void start(void);
void stop(void);
void tick(ntime_t time);
- void compute_ambience(render::state_t *render);
+ void compute_ambience(void);
void pause(void);
void resume(void);