From a25715a29b0587ae6795eef63a575172e2cb971d Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sat, 4 Aug 2018 16:57:41 +0200 Subject: MUTATIONOFJB: Fix code formatting issues (with astyle). --- engines/mutationofjb/commands/newroomcommand.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'engines/mutationofjb/commands/newroomcommand.cpp') diff --git a/engines/mutationofjb/commands/newroomcommand.cpp b/engines/mutationofjb/commands/newroomcommand.cpp index 818ef7d5ee..5aabc6705f 100644 --- a/engines/mutationofjb/commands/newroomcommand.cpp +++ b/engines/mutationofjb/commands/newroomcommand.cpp @@ -26,15 +26,15 @@ #include "mutationofjb/gamedata.h" #include "common/str.h" -/* - "NEWROOM " " " " " " " - - NEWROOM changes the current scene. While doing that, it also executes STARTUP section for the new room. - However, after that, the execution goes back to the old script to finish commands after NEWROOM. - - All parameters are supposed to be 3 characters long. - SceneId is the scene to load, x and y are the player's new position and frame is the player's new frame (orientation). -*/ +/** @file + * "NEWROOM " " " " " " " + * + * NEWROOM changes the current scene. While doing that, it also executes STARTUP section for the new room. + * However, after that, the execution goes back to the old script to finish commands after NEWROOM. + * + * All parameters are supposed to be 3 characters long. + * SceneId is the scene to load, x and y are the player's new position and frame is the player's new frame (orientation). + */ namespace MutationOfJB { @@ -62,7 +62,7 @@ Command::ExecuteResult NewRoomCommand::execute(ScriptExecutionContext &scriptExe if (!_innerExecCtx) { Script *newScript = game.changeSceneDelayScript(_sceneId, game.getGameData()._partB); _innerExecCtx = new ScriptExecutionContext(scriptExecCtx.getGame(), newScript); - res =_innerExecCtx->startStartupSection(); + res = _innerExecCtx->startStartupSection(); } else { res = _innerExecCtx->runActiveCommand(); } -- cgit v1.2.3