diff options
author | Eric Fry | 2018-07-05 10:04:23 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 848b5a5ff5c317a92ba26254b94d273f2aa6bf97 (patch) | |
tree | 6b11ae0354e93f4ec5a24bef3579a5365967a89e /engines/illusions/bbdou | |
parent | baf8011b07d70a95019e925ecff8e1979899cf5c (diff) | |
download | scummvm-rg350-848b5a5ff5c317a92ba26254b94d273f2aa6bf97.tar.gz scummvm-rg350-848b5a5ff5c317a92ba26254b94d273f2aa6bf97.tar.bz2 scummvm-rg350-848b5a5ff5c317a92ba26254b94d273f2aa6bf97.zip |
ILLUSIONS: Formatting fixes
Diffstat (limited to 'engines/illusions/bbdou')
-rw-r--r-- | engines/illusions/bbdou/menusystem_bbdou.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/illusions/bbdou/menusystem_bbdou.cpp b/engines/illusions/bbdou/menusystem_bbdou.cpp index 9d1b7188db..ab255be40d 100644 --- a/engines/illusions/bbdou/menusystem_bbdou.cpp +++ b/engines/illusions/bbdou/menusystem_bbdou.cpp @@ -55,13 +55,15 @@ void BBDOUMenuSystem::runMenu(MenuChoiceOffsets menuChoiceOffsets, int16 *menuCh } void BBDOUMenuSystem::clearMenus() { - for (int i = 0; i < kBBDOULastMenuIndex; ++i) + for (int i = 0; i < kBBDOULastMenuIndex; ++i) { _menus[i] = 0; + } } void BBDOUMenuSystem::freeMenus() { - for (int i = 0; i < kBBDOULastMenuIndex; ++i) + for (int i = 0; i < kBBDOULastMenuIndex; ++i) { delete _menus[i]; + } } BaseMenu *BBDOUMenuSystem::getMenuById(int menuId) { |