diff options
author | RichieSams | 2013-09-15 14:45:02 -0500 |
---|---|---|
committer | RichieSams | 2013-09-15 15:00:57 -0500 |
commit | 5cd1d2d1c2d9fc754450f548cff9aa8afaffd975 (patch) | |
tree | 900f5364f3b612f83bafa5a29b63b0d4b52a638e /engines/zvision | |
parent | 6ee253a4d8dce2f8c45f8d8256b49505db9eff4e (diff) | |
download | scummvm-rg350-5cd1d2d1c2d9fc754450f548cff9aa8afaffd975.tar.gz scummvm-rg350-5cd1d2d1c2d9fc754450f548cff9aa8afaffd975.tar.bz2 scummvm-rg350-5cd1d2d1c2d9fc754450f548cff9aa8afaffd975.zip |
ZVISION: Ensure getControl always returns something
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/script_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp index 3126aee8bb..1acbcdfcf2 100644 --- a/engines/zvision/script_manager.cpp +++ b/engines/zvision/script_manager.cpp @@ -235,6 +235,8 @@ Control *ScriptManager::getControl(uint32 key) { return (*iter); } } + + return nullptr; } void ScriptManager::enableControl(uint32 key) { |