aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/function.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-07-08 20:45:01 +0000
committerTorbjörn Andersson2006-07-08 20:45:01 +0000
commit7bfaa0db78b79c555fc1137de4a5964beca9d16e (patch)
tree5c9079aa73c7653b4055a807870f81c9694550bf /engines/sword2/function.cpp
parent8edc7ce1f74232be366957553cbf224f462576b4 (diff)
downloadscummvm-rg350-7bfaa0db78b79c555fc1137de4a5964beca9d16e.tar.gz
scummvm-rg350-7bfaa0db78b79c555fc1137de4a5964beca9d16e.tar.bz2
scummvm-rg350-7bfaa0db78b79c555fc1137de4a5964beca9d16e.zip
Cleanup
svn-id: r23439
Diffstat (limited to 'engines/sword2/function.cpp')
-rw-r--r--engines/sword2/function.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sword2/function.cpp b/engines/sword2/function.cpp
index a186fb9266..ec74d5c684 100644
--- a/engines/sword2/function.cpp
+++ b/engines/sword2/function.cpp
@@ -876,9 +876,7 @@ int32 Logic::fnISpeak(int32 *params) {
if (readVar(PLAYER_ID) != CUR_PLAYER_ID)
debug(5, "(%d) Nico: %s", _officialTextNumber, text + 2);
else {
- byte buf[NAME_LEN];
-
- debug(5, "(%d) %s: %s", _officialTextNumber, _vm->_resman->fetchName(readVar(ID), buf), text + 2);
+ debug(5, "(%d) %s: %s", _officialTextNumber, _vm->_resman->fetchName(readVar(ID)), text + 2);
}
// Set up the speech animation