aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-09-26 22:56:15 +0000
committerWillem Jan Palenstijn2009-09-26 22:56:15 +0000
commitc12a78eaa8792ce5a499eda46e13809275603c03 (patch)
tree22bde6d9f908466fb8b0b065a994c0d1039114e8 /engines/sci
parentbe0b1e060bd5c8bd9ade520e827c9135658de04f (diff)
downloadscummvm-rg350-c12a78eaa8792ce5a499eda46e13809275603c03.tar.gz
scummvm-rg350-c12a78eaa8792ce5a499eda46e13809275603c03.tar.bz2
scummvm-rg350-c12a78eaa8792ce5a499eda46e13809275603c03.zip
SCI: Fix compile error with DEBUG_AVOIDPATH
svn-id: r44384
Diffstat (limited to 'engines/sci')
-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();