diff options
author | Strangerke | 2011-07-28 11:08:56 +0200 |
---|---|---|
committer | Strangerke | 2011-07-28 11:08:56 +0200 |
commit | df7d771feb8ad9f532d6c8ba768d77cf491116b2 (patch) | |
tree | ff55d66b33bf101e136f2796dfa6470f810c0364 /engines/cge/cge_main.cpp | |
parent | dad302b640524224cb9381b3cfdcac7f430f0b21 (diff) | |
download | scummvm-rg350-df7d771feb8ad9f532d6c8ba768d77cf491116b2.tar.gz scummvm-rg350-df7d771feb8ad9f532d6c8ba768d77cf491116b2.tar.bz2 scummvm-rg350-df7d771feb8ad9f532d6c8ba768d77cf491116b2.zip |
CGE: Remove summa variable, formerly used for the protection check
Diffstat (limited to 'engines/cge/cge_main.cpp')
-rw-r--r-- | engines/cge/cge_main.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 3bffa1f732..d6dd82dbe0 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -684,9 +684,7 @@ void CGEEngine::switchCave(int cav) { _hero->park(); _hero->step(0); if (!_isDemo) - ///// protection: auto-destruction on! ---------------------- - _vga->_spareQ->_show = Startup::_summa * (cav <= CAVE_MAX); - /////-------------------------------------------------------- + _vga->_spareQ->_show = 0; } _cavLight->gotoxy(CAVE_X + ((_now - 1) % CAVE_NX) * CAVE_DX + CAVE_SX, CAVE_Y + ((_now - 1) / CAVE_NX) * CAVE_DY + CAVE_SY); @@ -1686,15 +1684,9 @@ bool CGEEngine::showTitle(const char *name) { strcpy(_usrFnam, progName(kSvgExt)); usr_ok = true; } else { - //----------------------------------------- #ifndef EVA -#ifdef CD - Startup::_summa |= (0xC0 + (DriveCD(0) << 6)) & 0xFF; -#else - // At this point the game originally read the boot sector to get - // the serial number for it's copy protection check -#endif - //----------------------------------------- + // At this point the game originally set the protection variables + // used by the copy protection check movie("X00"); // paylist _vga->copyPage(1, 2); _vga->copyPage(0, 1); |