aboutsummaryrefslogtreecommitdiff
path: root/game/view.cpp
diff options
context:
space:
mode:
authorjacopograndi <jak.sk8@hotmail.it>2021-09-05 23:00:42 +0200
committerjacopograndi <jak.sk8@hotmail.it>2021-09-05 23:00:42 +0200
commit522a43d16e812e10ff69747ee916918b4bd29f2f (patch)
tree3a9b9cb7a5d103252099d0eabb3c8d6ab8803550 /game/view.cpp
parent728abda9dc6fc8e65c7c0e0240a2e7d61a43a583 (diff)
invariant added as 'inv'
Diffstat (limited to 'game/view.cpp')
-rw-r--r--game/view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/view.cpp b/game/view.cpp
index 78a9932..190bd53 100644
--- a/game/view.cpp
+++ b/game/view.cpp
@@ -1,7 +1,7 @@
#include "view.h"
void View::process (Gst &gst, vec2 cam, vec2 mouse, int *mheld) {
- Ground &gr = gst.ground;
+ Ground &gr = gst.inv->ground;
std::vector<Entity> &entities = gst.entities;
vec2 absmouse { mouse };