aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-12 21:43:53 +1000
committerPaul Gilbert2011-07-12 21:43:53 +1000
commit891032053a19f0962771f4374cd79ee66f2f9b0f (patch)
treed347d2c9291e7e61fcbd7ba9722e5a8904959c22 /engines
parentb6be90326d31030ac364edeb8538aecaef51e378 (diff)
downloadscummvm-rg350-891032053a19f0962771f4374cd79ee66f2f9b0f.tar.gz
scummvm-rg350-891032053a19f0962771f4374cd79ee66f2f9b0f.tar.bz2
scummvm-rg350-891032053a19f0962771f4374cd79ee66f2f9b0f.zip
CGE: Removed redundant disable/enable calls
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/snail.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index a568110de7..2fe2d22d5b 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -35,14 +35,6 @@
namespace CGE {
-static void _enable() {
- warning("STUB: _enable");
-}
-
-static void _disable() {
- warning("STUB: _disable");
-}
-
extern Sprite *_pocLight;
//-------------------------------------------------------------------------
@@ -414,7 +406,6 @@ Snail::~Snail() {
}
void Snail::addCom(SNCOM com, int ref, int val, void *ptr) {
- _disable();
Com *snc = &_snList[_head++];
snc->_com = com;
snc->_ref = ref;
@@ -425,13 +416,11 @@ void Snail::addCom(SNCOM com, int ref, int val, void *ptr) {
killText();
_timerExpiry = 0;
}
- _enable();
}
void Snail::insCom(SNCOM com, int ref, int val, void *ptr) {
Com *snc;
- _disable();
if (_busy) {
_snList[(_tail - 1) & 0xFF] = _snList[_tail];
snc = &_snList[_tail];
@@ -447,7 +436,6 @@ void Snail::insCom(SNCOM com, int ref, int val, void *ptr) {
killText();
_timerExpiry = 0;
}
- _enable();
}
void CGEEngine::snNNext(Sprite *sprel, int p) {