aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/rooms
diff options
context:
space:
mode:
authorD G Turner2018-08-09 19:02:00 +0100
committerD G Turner2018-08-09 19:02:00 +0100
commit86c6e3f4604c0932ed450f0c349383bc2f375dea (patch)
tree936468cc967caacad18debb306facae6c08a11d4 /engines/startrek/rooms
parentcb55775f608aae8df8b27ca73d8a54c539dae7f2 (diff)
downloadscummvm-rg350-86c6e3f4604c0932ed450f0c349383bc2f375dea.tar.gz
scummvm-rg350-86c6e3f4604c0932ed450f0c349383bc2f375dea.tar.bz2
scummvm-rg350-86c6e3f4604c0932ed450f0c349383bc2f375dea.zip
STARTREK: Fix Various Compiler Warnings.
Diffstat (limited to 'engines/startrek/rooms')
-rw-r--r--engines/startrek/rooms/demon1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/rooms/demon1.cpp b/engines/startrek/rooms/demon1.cpp
index 92882abf4b..a33673c9fe 100644
--- a/engines/startrek/rooms/demon1.cpp
+++ b/engines/startrek/rooms/demon1.cpp
@@ -174,7 +174,7 @@ void Room::demon1KlingonFinishedAimingWeapon() {
playSoundEffectIndex(0x06);
_roomVar.demon.attackIndex++;
- int crewman;
+ int crewman = OBJECT_REDSHIRT;
if (_roomVar.demon.attackIndex == 1) {
loadActorAnim2(OBJECT_REDSHIRT, "rstunn", -1, -1, 0);
crewman = OBJECT_REDSHIRT;