aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/minigames
diff options
context:
space:
mode:
authorSven Hesse2012-06-14 15:33:30 +0200
committerSven Hesse2012-06-14 15:33:30 +0200
commit5ae4ed09ea9b0ffd4ef00e55eb1f738103fdeeeb (patch)
treedec19a05d8ba20d74292dbcee585f4d82fc76e22 /engines/gob/minigames
parent0e6fb437799ba8f35776c59c02a02d59a99a71cf (diff)
downloadscummvm-rg350-5ae4ed09ea9b0ffd4ef00e55eb1f738103fdeeeb.tar.gz
scummvm-rg350-5ae4ed09ea9b0ffd4ef00e55eb1f738103fdeeeb.tar.bz2
scummvm-rg350-5ae4ed09ea9b0ffd4ef00e55eb1f738103fdeeeb.zip
GOB: Fix an uninitialised value in Geisha's Penetration
Diffstat (limited to 'engines/gob/minigames')
-rw-r--r--engines/gob/minigames/geisha/submarine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/minigames/geisha/submarine.cpp b/engines/gob/minigames/geisha/submarine.cpp
index d16761cb7c..bf15306e5a 100644
--- a/engines/gob/minigames/geisha/submarine.cpp
+++ b/engines/gob/minigames/geisha/submarine.cpp
@@ -51,7 +51,7 @@ enum Animation {
};
-Submarine::Submarine(const ANIFile &ani) : ANIObject(ani), _state(kStateMove) {
+Submarine::Submarine(const ANIFile &ani) : ANIObject(ani), _state(kStateMove), _direction(kDirectionNone) {
turn(kDirectionN);
}