mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
PEGASUS: Fix potentially uninitialized hotspot pointer
Should fix some crashes on Windows
This commit is contained in:
parent
a2454f6563
commit
1fb5238cf3
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user