mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
MYST3: Turn some warnings into debugs
This commit is contained in:
parent
86876c6bbc
commit
b7e8ef5dc4
@ -329,7 +329,7 @@ void Script::runOp(Context &c, const Opcode &op) {
|
||||
if (cmd.op != 0)
|
||||
(this->*(cmd.proc))(c, op);
|
||||
else
|
||||
warning("Trying to run invalid opcode %d", op.op);
|
||||
debugC(kDebugScript, "Trying to run invalid opcode %d", op.op);
|
||||
}
|
||||
|
||||
void Script::runSingleOp(const Opcode &op) {
|
||||
@ -1697,7 +1697,7 @@ void Script::leverDrag(Context &c, const Opcode &cmd) {
|
||||
_vm->_state->setDragEnded(!mousePressed);
|
||||
|
||||
if (_vm->_state->getDragLeverSpeed()) {
|
||||
warning("Interaction with var 58 is missing in opcode 127.");
|
||||
debugC(kDebugScript, "Interaction with var 58 is missing in opcode 127.");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1760,7 +1760,7 @@ void Script::leverDragPositions(Context &c, const Opcode &cmd) {
|
||||
_vm->_state->setDragEnded(!mousePressed);
|
||||
|
||||
if (_vm->_state->getDragLeverSpeed()) {
|
||||
warning("Interaction with var 58 is missing in opcode 132.");
|
||||
debugC(kDebugScript, "Interaction with var 58 is missing in opcode 132.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -522,7 +522,7 @@ void GameState::setVar(uint16 var, int32 value) {
|
||||
if (_varDescriptions.contains(var)) {
|
||||
const VarDescription &d = _varDescriptions.getVal(var);
|
||||
if (d.unknown)
|
||||
warning("A script is writing to the unimplemented engine-mapped var %d (%s)", var, d.name);
|
||||
debugC(kDebugScript, "A script is writing to the unimplemented engine-mapped var %d (%s)", var, d.name);
|
||||
}
|
||||
|
||||
_data.vars[var] = value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user