diff options
author | Paul Gilbert | 2009-12-19 05:46:26 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-12-19 05:46:26 +0000 |
commit | ae50fdca7238c6898e9289935ec392f66e0311ae (patch) | |
tree | f6cb8709f343d10cd5c4e60c6b628e81dead7427 /engines/m4 | |
parent | 26a5c1c3a5ea76a92ebe60f074c3fbfa64a06fa7 (diff) | |
download | scummvm-rg350-ae50fdca7238c6898e9289935ec392f66e0311ae.tar.gz scummvm-rg350-ae50fdca7238c6898e9289935ec392f66e0311ae.tar.bz2 scummvm-rg350-ae50fdca7238c6898e9289935ec392f66e0311ae.zip |
Added an extra assert
svn-id: r46417
Diffstat (limited to 'engines/m4')
-rw-r--r-- | engines/m4/viewmgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/m4/viewmgr.cpp b/engines/m4/viewmgr.cpp index 6d91a12a9b..78ebbbad96 100644 --- a/engines/m4/viewmgr.cpp +++ b/engines/m4/viewmgr.cpp @@ -290,6 +290,7 @@ void ViewManager::handleMouseEvents(M4EventType event) { // If a window sets the _captureEvents flag to true, it will receive all events until // it sets it to false, even if it's not the top window if (_captureEvents) { + assert(_captureScreen); if (_captureScreen->screenFlags().get & SCREVENT_MOUSE) (_captureScreen->onEvent)(event, 0, mousePos.x, mousePos.y, _captureEvents); |