diff options
author | Max Horn | 2003-06-07 00:49:36 +0000 |
---|---|---|
committer | Max Horn | 2003-06-07 00:49:36 +0000 |
commit | 49b9a8fc9d999b82c3e694a6da672b259089fe97 (patch) | |
tree | 518372b3be43f44b83e07dd5e70aec2645b6e419 /scumm/script.cpp | |
parent | 55d3168c59d9e8244705e44e82602c69b2b8d7f2 (diff) | |
download | scummvm-rg350-49b9a8fc9d999b82c3e694a6da672b259089fe97.tar.gz scummvm-rg350-49b9a8fc9d999b82c3e694a6da672b259089fe97.tar.bz2 scummvm-rg350-49b9a8fc9d999b82c3e694a6da672b259089fe97.zip |
follow our coding conventions
svn-id: r8377
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 118f887b92..eb62fc03a7 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -546,7 +546,7 @@ void Scumm::writeVar(uint var, int value) { int bit = var & 0xF; var = (var >> 4) & 0xFF; checkRange(_numVariables - 1, 0, var, "Variable %d out of range(wzb)"); - if(value) + if (value) _scummVars[var] |= ( 1 << bit ); else _scummVars[var] &= ~( 1 << bit ); |