aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-15 19:42:41 -0400
committerPaul Gilbert2017-08-15 19:42:41 -0400
commitede1cbc4cadbdb56d28e0c67d0eb69c81a66971f (patch)
tree7047efdd1935ba652384de5072581cc32de75ac9 /engines/titanic/npcs
parente8d27c782efa69bc5763c7cb75d7eebd832e581f (diff)
downloadscummvm-rg350-ede1cbc4cadbdb56d28e0c67d0eb69c81a66971f.tar.gz
scummvm-rg350-ede1cbc4cadbdb56d28e0c67d0eb69c81a66971f.tar.bz2
scummvm-rg350-ede1cbc4cadbdb56d28e0c67d0eb69c81a66971f.zip
TITANIC: Removed dead code from CParrot::ActMsg
Diffstat (limited to 'engines/titanic/npcs')
-rw-r--r--engines/titanic/npcs/parrot.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp
index 60d11c0a6e..a0f80ca69b 100644
--- a/engines/titanic/npcs/parrot.cpp
+++ b/engines/titanic/npcs/parrot.cpp
@@ -119,10 +119,7 @@ void CParrot::load(SimpleFile *file) {
}
bool CParrot::ActMsg(CActMsg *msg) {
- if (msg->_action == "PistaccioEaten") {
- CActMsg actMsg("NutsEaten");
- actMsg.execute("Ear2");
- } else if (msg->_action == "Chicken") {
+ if (msg->_action == "Chicken") {
// Nothing to do
} else if (msg->_action == "CarryParrotLeftView") {
if (!_takeOff) {