From 522a43d16e812e10ff69747ee916918b4bd29f2f Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Sun, 5 Sep 2021 23:00:42 +0200 Subject: invariant added as 'inv' --- game/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/view.cpp') 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 &entities = gst.entities; vec2 absmouse { mouse }; -- cgit v1.2.3-54-g00ecf