TSAGE: Cosmetic modification, for consistency

This commit is contained in:
strangerke 2011-05-25 20:08:54 +02:00
parent 65a9ef7639
commit be3306a9eb

View File

@ -63,13 +63,13 @@ bool Debugger::Cmd_Scene(int argc, const char **argv) {
if (argc < 2) {
DebugPrintf("Usage: %s <scene number> [prior scene #]\n", argv[0]);
return true;
} else {
if (argc == 3)
_globals->_sceneManager._sceneNumber = strToInt(argv[2]);
}
_globals->_sceneManager.changeScene(strToInt(argv[1]));
return false;
}
if (argc == 3)
_globals->_sceneManager._sceneNumber = strToInt(argv[2]);
_globals->_sceneManager.changeScene(strToInt(argv[1]));
return false;
}
/**
@ -377,7 +377,8 @@ bool Debugger::Cmd_MoveObject(int argc, const char **argv) {
RING_INVENTORY._jar._sceneNumber = sceneNum;
break;
default:
DebugPrintf("Invlid object Id %s\n", argv[1]);
DebugPrintf("Invalid object Id %s\n", argv[1]);
break;
}
return true;