diff options
| author | Eugene Sandulenko | 2016-01-06 23:07:04 +0100 | 
|---|---|---|
| committer | Eugene Sandulenko | 2016-01-06 23:07:04 +0100 | 
| commit | 550d393341dbf206ffc33e5effa31eb40d427358 (patch) | |
| tree | 65bcd3ec43b949e843d4cc52ca3222559eb42d6b | |
| parent | 1f9e724a53a0f3a0bd16bb4ecf3994f14cb51ddf (diff) | |
| download | scummvm-rg350-550d393341dbf206ffc33e5effa31eb40d427358.tar.gz scummvm-rg350-550d393341dbf206ffc33e5effa31eb40d427358.tar.bz2 scummvm-rg350-550d393341dbf206ffc33e5effa31eb40d427358.zip  | |
WAGE: Fix crash
| -rw-r--r-- | engines/wage/script.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index 8fe08f3e67..a80f0ac2c0 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -952,7 +952,7 @@ void Script::handleMoveCommand(Scene::Directions dir, const char *dirName) {  			return;  		}  	} -	if (msg != NULL && msg.size() > 0) { +	if (msg.size() > 0) {  		appendText(msg);  	} else {  		Common::String txt("You can't go ");  | 
