diff options
author | Johannes Schickel | 2014-01-16 22:58:38 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-01-16 22:58:38 +0100 |
commit | 9afeafd3fd1b3151c32afd6da2b5f36d3ae9a5a0 (patch) | |
tree | e0f4656dc41c0c806f156c60f5a7c533e94073e6 | |
parent | 67bf71f43ae0c4a6b011429a1094f1f66a4dcda2 (diff) | |
download | scummvm-rg350-9afeafd3fd1b3151c32afd6da2b5f36d3ae9a5a0.tar.gz scummvm-rg350-9afeafd3fd1b3151c32afd6da2b5f36d3ae9a5a0.tar.bz2 scummvm-rg350-9afeafd3fd1b3151c32afd6da2b5f36d3ae9a5a0.zip |
TONY: Cleanup (don't compare pointer with false).
-rw-r--r-- | engines/tony/mpal/mpal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp index 5f2452dcfe..19e3d43df4 100644 --- a/engines/tony/mpal/mpal.cpp +++ b/engines/tony/mpal/mpal.cpp @@ -963,7 +963,7 @@ void LocationPollThread(CORO_PARAM, const void *param) { // Ok, we can perform the action. For convenience, we do it in a new process _ctx->newItem = (LpMpalItem)globalAlloc(GMEM_FIXED | GMEM_ZEROINIT, sizeof(MpalItem)); - if (_ctx->newItem == false) { + if (!_ctx->newItem) { globalDestroy(_ctx->myThreads); globalDestroy(_ctx->myActions); |