diff options
author | Eugene Sandulenko | 2018-04-15 23:55:07 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-04-15 23:55:07 +0200 |
commit | 0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13 (patch) | |
tree | d2d8f1aa904dd6545b49c60e14b25410c3706649 | |
parent | db1f09a0c2f799ab0feca363b7b0e8f3d5c03de6 (diff) | |
download | scummvm-rg350-0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13.tar.gz scummvm-rg350-0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13.tar.bz2 scummvm-rg350-0e02da6000768d74c0a51a5e8b9e23e9a2c3bc13.zip |
JANITORIAL: Fix code formatting
-rw-r--r-- | engines/mohawk/myst_stacks/myst.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp index 83d787f2f3..c63f908bda 100644 --- a/engines/mohawk/myst_stacks/myst.cpp +++ b/engines/mohawk/myst_stacks/myst.cpp @@ -642,8 +642,7 @@ uint16 Myst::getVar(uint16 var) { return 10; else return 1; - } - else { + } else { // 24 Hour Format observatoryLeftMinutes = _state.observatoryTimeSetting; if (observatoryLeftMinutes < (10 * 60)) @@ -659,12 +658,11 @@ uint16 Myst::getVar(uint16 var) { // 12 Hour Format observatoryRightMinutes = _state.observatoryTimeSetting % (12 * 60); observatoryRightHour = observatoryRightMinutes / 60; - if ( observatoryRightHour % 12 == 0) + if (observatoryRightHour % 12 == 0) return 2; else return observatoryRightHour % 10; - } - else { + } else { // 24 Hour Format observatoryRightMinutes = _state.observatoryTimeSetting; observatoryRightHour = observatoryRightMinutes / 60; |