aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/bladerunner.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-06-28 15:30:05 +0300
committerThanasis Antoniou2019-06-28 15:30:44 +0300
commita81e3add2f08692030607c8cde7965475793b86b (patch)
treec7a897ded452d141d110dfb7d0e6d5e1ebf3176f /engines/bladerunner/bladerunner.cpp
parentbd75898894e0f65663b1bc93c73d4ce0c7a91482 (diff)
downloadscummvm-rg350-a81e3add2f08692030607c8cde7965475793b86b.tar.gz
scummvm-rg350-a81e3add2f08692030607c8cde7965475793b86b.tar.bz2
scummvm-rg350-a81e3add2f08692030607c8cde7965475793b86b.zip
BLADERUNNER: JANITORIAL: Code formatting fixes
Diffstat (limited to 'engines/bladerunner/bladerunner.cpp')
-rw-r--r--engines/bladerunner/bladerunner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp
index 98baf5bab4..4228e39273 100644
--- a/engines/bladerunner/bladerunner.cpp
+++ b/engines/bladerunner/bladerunner.cpp
@@ -344,12 +344,12 @@ Common::Error BladeRunnerEngine::run() {
// when loading from ScummVM main menu, we should emulate
// the Kia pause/resume in order to get a valid "current" time when the game
// is actually loaded (assuming delays can be introduced by a popup warning dialogue)
- if(!_time->isLocked()) {
+ if (!_time->isLocked()) {
_time->pause();
}
loadGameState(ConfMan.getInt("save_slot"));
ConfMan.set("save_slot", "-1");
- if(_time->isLocked()) {
+ if (_time->isLocked()) {
_time->resume();
}
} else if (hasSavegames) {
@@ -1925,7 +1925,7 @@ void BladeRunnerEngine::playerDied() {
bool BladeRunnerEngine::saveGame(Common::WriteStream &stream, Graphics::Surface &thumbnail) {
if ( !_gameIsAutoSaving
&& ( !playerHasControl() || _sceneScript->isInsideScript() || _aiScripts->isInsideScript())
- ){
+ ) {
return false;
}
@@ -2037,7 +2037,7 @@ bool BladeRunnerEngine::loadGame(Common::SeekableReadStream &stream) {
if ((_gameFlags->query(kFlagGamePlayedInRestoredContentMode) && !_cutContent)
|| (!_gameFlags->query(kFlagGamePlayedInRestoredContentMode) && _cutContent)
- ){
+ ) {
Common::String warningMsg;
if (!_cutContent) {
warningMsg = _("WARNING: This game was saved in Restored Cut Content mode, but you are playing in Original Content mode. The mode will be adjusted to Restored Cut Content for this session until you completely Quit the game.");