aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-18 13:42:44 +1100
committerPaul Gilbert2012-11-18 13:42:44 +1100
commit08dcceeefcc6b79c1b6c96f0f25744512565bdaf (patch)
treec4570bfd35b6b62701d8d32fa7632daa946d30f8 /engines/hopkins/globals.cpp
parent4661b0ab86f7e9177ada2255ca1802668b74caeb (diff)
downloadscummvm-rg350-08dcceeefcc6b79c1b6c96f0f25744512565bdaf.tar.gz
scummvm-rg350-08dcceeefcc6b79c1b6c96f0f25744512565bdaf.tar.bz2
scummvm-rg350-08dcceeefcc6b79c1b6c96f0f25744512565bdaf.zip
HOPKINS: Cleanup of FORET flag and bugfix for when leaving forest.
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index 2283c6b10a..5a24a5f207 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -141,7 +141,7 @@ Globals::Globals() {
nbrligne = 0;
largeur_boite = 0;
hauteur_boite = 0;
- FORET = 0;
+ FORET = false;
OBJL = OBJH = 0;
HELICO = 0;
CAT_POSI = 0;
@@ -419,7 +419,7 @@ void Globals::clearAll() {
ADR_FICHIER_OBJ = g_PTRNUL;
FORETSPR = g_PTRNUL;
- FORET = 0;
+ FORET = false;
cache_souris = dos_malloc2(2500);
GESTE = g_PTRNUL;