diff options
author | Strangerke | 2013-11-01 14:15:19 +0100 |
---|---|---|
committer | Strangerke | 2013-11-01 14:15:19 +0100 |
commit | 79ecd017e24515e5d9a77e32110a932c7d04b582 (patch) | |
tree | c286decefca1fc3b583f6c69598d5d61f20bb69e /engines/hugo/file.cpp | |
parent | f1abc0c302a8576415086626f6805acfe997459d (diff) | |
download | scummvm-rg350-79ecd017e24515e5d9a77e32110a932c7d04b582.tar.gz scummvm-rg350-79ecd017e24515e5d9a77e32110a932c7d04b582.tar.bz2 scummvm-rg350-79ecd017e24515e5d9a77e32110a932c7d04b582.zip |
HUFO: Fix CID 1002880, 1002881. Use nullptr where possible instead of 0
Diffstat (limited to 'engines/hugo/file.cpp')
-rw-r--r-- | engines/hugo/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp index a9f56dea47..aa128048af 100644 --- a/engines/hugo/file.cpp +++ b/engines/hugo/file.cpp @@ -246,13 +246,13 @@ SoundPtr FileManager::getSound(const int16 sound, uint16 *size) { // No more to do if SILENCE (called for cleanup purposes) if (sound == _vm->_soundSilence) - return 0; + return nullptr; // Open sounds file Common::File fp; // Handle to SOUND_FILE if (!fp.open(getSoundFilename())) { warning("Hugo Error: File not found %s", getSoundFilename()); - return 0; + return nullptr; } if (!_hasReadHeader) { |