diff --git a/engines/pegasus/input.cpp b/engines/pegasus/input.cpp index ef9d9a6b8e2..c60f00ddad5 100644 --- a/engines/pegasus/input.cpp +++ b/engines/pegasus/input.cpp @@ -180,7 +180,7 @@ InputHandler *InputHandler::setInputHandler(InputHandler *currentHandler) { void InputHandler::pollForInput() { if (_inputHandler) { Input input; - Hotspot *cursorSpot; + Hotspot *cursorSpot = 0; InputHandler::getInput(input, cursorSpot); if (_inputHandler->isClickInput(input, cursorSpot))