diff options
author | Torbjörn Andersson | 2010-07-10 11:16:46 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-07-10 11:16:46 +0000 |
commit | cfc93a7e4dff46e1bca4656c2976c1f3c1e68a87 (patch) | |
tree | 9e032c507494526cf628ac9894e5a1339a3782e7 /engines/sci/engine/kgraphics.cpp | |
parent | bab61443ac5b59d20f3846518121286338c5724d (diff) | |
download | scummvm-rg350-cfc93a7e4dff46e1bca4656c2976c1f3c1e68a87.tar.gz scummvm-rg350-cfc93a7e4dff46e1bca4656c2976c1f3c1e68a87.tar.bz2 scummvm-rg350-cfc93a7e4dff46e1bca4656c2976c1f3c1e68a87.zip |
Simplified the expression.
svn-id: r50779
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 12cac971f0..25eb81f65c 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -686,7 +686,7 @@ reg_t kPalVaryChangeTicks(EngineState *s, int argc, reg_t *argv) { } reg_t kPalVaryPauseResume(EngineState *s, int argc, reg_t *argv) { - bool pauseState = argv[1].isNull() ? false : true; + bool pauseState = !argv[1].isNull(); g_sci->_gfxPalette->kernelPalVaryPause(pauseState); return NULL_REG; } |