aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kpathing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index 81754b19d0..6bc2a1086f 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -355,6 +355,7 @@ static void draw_point(EngineState *s, Common::Point p, int start) {
}
static void draw_polygon(EngineState *s, reg_t polygon) {
+ SegManager *segMan = s->segMan;
reg_t points = GET_SEL32(polygon, points);
int size = GET_SEL32(polygon, size).toUint16();
int type = GET_SEL32(polygon, type).toUint16();