aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-05 19:38:56 -0400
committerPaul Gilbert2017-09-05 19:38:56 -0400
commit1ecb27e6cc32eba24079e9b28aea414319c6cbcf (patch)
tree170230e42316fb6d6d6ffda1bfffae4885ff0ac5 /engines/titanic
parent0b9b3e336aa17e8fcd5780c9cf493deb796b2a3a (diff)
downloadscummvm-rg350-1ecb27e6cc32eba24079e9b28aea414319c6cbcf.tar.gz
scummvm-rg350-1ecb27e6cc32eba24079e9b28aea414319c6cbcf.tar.bz2
scummvm-rg350-1ecb27e6cc32eba24079e9b28aea414319c6cbcf.zip
TITANIC: Simplify sound command now that # character is allowed
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/debugger.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/titanic/debugger.cpp b/engines/titanic/debugger.cpp
index dd363f861f..a42c51cbd9 100644
--- a/engines/titanic/debugger.cpp
+++ b/engines/titanic/debugger.cpp
@@ -331,9 +331,6 @@ bool Debugger::cmdMovie(int argc, const char **argv) {
bool Debugger::cmdSound(int argc, const char **argv) {
if (argc == 2) {
Common::String name = argv[1];
- const char *ch = strchr(argv[1], '!');
- if (ch)
- name.setChar('#', ch - argv[1]);
if (!name.contains("#"))
name = "z#" + name;