Browse Source

Remove hardcoded spawn location for Cave maps

xbrz
qndel 6 years ago committed by Anders Jenbo
parent
commit
9a5ff805ed
  1. 4
      Source/drlg_l3.cpp
  2. 2
      Source/setmaps.cpp

4
Source/drlg_l3.cpp

@ -1751,8 +1751,8 @@ void LoadL3Dungeon(char *sFileName, int vx, int vy)
abyssx = MAXDUNX; // Unused abyssx = MAXDUNX; // Unused
DRLG_L3Pass3(); DRLG_L3Pass3();
DRLG_Init_Globals(); DRLG_Init_Globals();
ViewX = 31; ViewX = vx;
ViewY = 83; ViewY = vy;
SetMapMonsters(pLevelMap, 0, 0); SetMapMonsters(pLevelMap, 0, 0);
SetMapObjects(pLevelMap, 0, 0); SetMapObjects(pLevelMap, 0, 0);

2
Source/setmaps.cpp

@ -172,7 +172,7 @@ void LoadSetMap()
if (quests[Q_PWATER]._qactive == QUEST_INIT) if (quests[Q_PWATER]._qactive == QUEST_INIT)
quests[Q_PWATER]._qactive = QUEST_ACTIVE; quests[Q_PWATER]._qactive = QUEST_ACTIVE;
LoadPreL3Dungeon("Levels\\L3Data\\Foulwatr.DUN", 19, 50); LoadPreL3Dungeon("Levels\\L3Data\\Foulwatr.DUN", 19, 50);
LoadL3Dungeon("Levels\\L3Data\\Foulwatr.DUN", 20, 50); LoadL3Dungeon("Levels\\L3Data\\Foulwatr.DUN", 31, 81);
LoadPalette("Levels\\L3Data\\L3pfoul.pal"); LoadPalette("Levels\\L3Data\\L3pfoul.pal");
InitPWaterTriggers(); InitPWaterTriggers();
break; break;

Loading…
Cancel
Save