diff options
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index 2865e0fdac..2f8dcb23b6 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -1605,8 +1605,8 @@ reg_t kIntersections(EngineState *s, int argc, reg_t *argv) { } bool foundIntersection = true; - int32 intersectionX; - int32 intersectionY; + int32 intersectionX = 0; + int32 intersectionY = 0; if (qSlope == pSlope) { // If the lines overlap, we test the source and destination points |