diff options
author | Paul Gilbert | 2016-10-13 23:10:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-13 23:10:10 -0400 |
commit | a8dd2856b71bbb452cb122f9fca117b40314f17f (patch) | |
tree | 1f9112f8b96f0ed961c371b9e02c1f0ad82e8ff6 /engines/titanic/npcs/parrot.cpp | |
parent | a350cc8fd090e20da69045cffda0bfd7bacc8d69 (diff) | |
download | scummvm-rg350-a8dd2856b71bbb452cb122f9fca117b40314f17f.tar.gz scummvm-rg350-a8dd2856b71bbb452cb122f9fca117b40314f17f.tar.bz2 scummvm-rg350-a8dd2856b71bbb452cb122f9fca117b40314f17f.zip |
TITANIC: Fix getting NPC animation name lists
Diffstat (limited to 'engines/titanic/npcs/parrot.cpp')
-rw-r--r-- | engines/titanic/npcs/parrot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp index 358a86686f..97a1944fef 100644 --- a/engines/titanic/npcs/parrot.cpp +++ b/engines/titanic/npcs/parrot.cpp @@ -410,7 +410,7 @@ bool CParrot::LeaveViewMsg(CLeaveViewMsg *msg) { } bool CParrot::ParrotSpeakMsg(CParrotSpeakMsg *msg) { - const char *const ROOM_NAMES[] = { + static const char *const ROOM_NAMES[] = { "SGTState", "SGTLittleLift", "SecClassLittleLift", "SecClassState", "Lift", "ServiceElevator", "Dome", "Home", "MoonEmbLobby", nullptr }; @@ -477,7 +477,7 @@ bool CParrot::ParrotSpeakMsg(CParrotSpeakMsg *msg) { } bool CParrot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg) { - const char *const NAMES[] = { + static const char *const NAMES[] = { "Talking0", "Talking1", "Talking2", "Talking3", "Talking4", "Talking5", "Talking6", "Talking7", nullptr }; @@ -492,7 +492,7 @@ bool CParrot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg) { } bool CParrot::NPCPlayIdleAnimationMsg(CNPCPlayIdleAnimationMsg *msg) { - const char *const NAMES[] = { + static const char *const NAMES[] = { "Idle0", "Idle1", "Peck At Feet", "Peck At Feet Left" "Peck At Feet Right", nullptr }; |