aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/perso.cpp
diff options
context:
space:
mode:
authorTony Puccinelli2010-08-09 06:55:25 +0000
committerTony Puccinelli2010-08-09 06:55:25 +0000
commit83f1531cb8fa5ba43c246143ecdde2cb1d140a8e (patch)
treec31cb2d9980580eccb992a73a176356d32fff7c5 /engines/cruise/perso.cpp
parent924c4e0c06eb90677847d04b185468ad3d2efb22 (diff)
downloadscummvm-rg350-83f1531cb8fa5ba43c246143ecdde2cb1d140a8e.tar.gz
scummvm-rg350-83f1531cb8fa5ba43c246143ecdde2cb1d140a8e.tar.bz2
scummvm-rg350-83f1531cb8fa5ba43c246143ecdde2cb1d140a8e.zip
Moved a large number of global variables in the Cruise Engine into a Singleton class and modified all references to these variables to access them via an instance of this Singleton class
svn-id: r51935
Diffstat (limited to 'engines/cruise/perso.cpp')
-rw-r--r--engines/cruise/perso.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/perso.cpp b/engines/cruise/perso.cpp
index 27d3c8cb7d..1e92b8bc3e 100644
--- a/engines/cruise/perso.cpp
+++ b/engines/cruise/perso.cpp
@@ -46,12 +46,12 @@ void freeCTP() {
}
if (polyStruct) {
- polyStructNorm.clear();
- polyStructExp.clear();
+ CVars.polyStructNorm.clear();
+ CVars.polyStructExp.clear();
polyStruct = NULL;
}
- ctpVar17 = NULL;
+ CVars.ctpVar17 = NULL;
polyStruct = NULL;
strcpy((char *)currentCtpName, "");