LOL: cleanup last commit

svn-id: r47354
This commit is contained in:
Florian Kagerer 2010-01-18 07:21:54 +00:00
parent 371a2a9ee9
commit 4c9f323199
2 changed files with 2 additions and 2 deletions

View File

@ -519,6 +519,8 @@ Common::Error LoLEngine::init() {
_automapShapes = new const uint8*[109];
_mapOverlay = new uint8[256];
memset(_availableSpells, -1, 8);
_spellProcs.push_back(new SpellProc(this, &LoLEngine::castSpark));
_spellProcs.push_back(new SpellProc(this, &LoLEngine::castHeal));
_spellProcs.push_back(new SpellProc(this, &LoLEngine::castIce));
@ -891,7 +893,6 @@ void LoLEngine::startupNew() {
_inventory[1] = makeItem(217, 0, 0);
_inventory[2] = makeItem(218, 0, 0);
memset(_availableSpells, -1, 8);
_availableSpells[0] = 0;
setupScreenDims();

View File

@ -267,7 +267,6 @@ Common::Error LoLEngine::loadGameState(int slot) {
gui_drawPlayField();
timerSpecialCharacterUpdate(0);
_flagsTable[73] |= 0x08;
_availableSpells[7] = -1;
while (!_screen->isMouseVisible())
_screen->showMouse();