aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
authorStrangerke2011-06-20 00:55:47 +0200
committerStrangerke2011-06-20 00:55:47 +0200
commit77d4dcade26a69a6e2ebcc69a4224059c450f3e4 (patch)
tree8f181842ee3c11753af63c28854cc2a1ca950b9e /engines/cge/snail.cpp
parent40f95669aeb60a50c2736d71008f0e3461654f4f (diff)
downloadscummvm-rg350-77d4dcade26a69a6e2ebcc69a4224059c450f3e4.tar.gz
scummvm-rg350-77d4dcade26a69a6e2ebcc69a4224059c450f3e4.tar.bz2
scummvm-rg350-77d4dcade26a69a6e2ebcc69a4224059c450f3e4.zip
CGE: Remove static parts of HEART
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r--engines/cge/snail.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index f40d2bc2fa..afe73b4d24 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -511,16 +511,16 @@ static void SNRTNext(SPRITE *sprel, int p) {
static void SNZTrim(SPRITE *spr) {
if (spr)
if (spr->Active()) {
- bool en = HEART::Enable;
+ bool en = Heart->Enable;
SPRITE *s;
- HEART::Enable = false;
+ Heart->Enable = false;
s = (spr->Flags.Shad) ? spr->Prev : NULL;
Vga->ShowQ->Insert(Vga->ShowQ->Remove(spr));
if (s) {
s->Z = spr->Z;
Vga->ShowQ->Insert(Vga->ShowQ->Remove(s), spr);
}
- HEART::Enable = en;
+ Heart->Enable = en;
}
}
@@ -936,7 +936,7 @@ void SNAIL::RunCom(void) {
case SNLABEL :
break;
case SNPAUSE :
- HEART::SetXTimer(&Pause, snc->Val);
+ Heart->SetXTimer(&Pause, snc->Val);
if (Talk)
TextDelay = true;
break;
@@ -944,7 +944,7 @@ void SNAIL::RunCom(void) {
if (sprel) {
if (sprel->SeqTest(snc->Val) &&
(snc->Val >= 0 || sprel != Hero || Hero->TracePtr < 0)) {
- HEART::SetXTimer(&Pause, sprel->Time);
+ Heart->SetXTimer(&Pause, sprel->Time);
} else
goto xit;
}