Remove hardcoded spawn location for Cave maps

This commit is contained in:
qndel 2020-04-14 03:24:49 +02:00 committed by Anders Jenbo
commit 9a5ff805ed
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -172,7 +172,7 @@ void LoadSetMap()
if (quests[Q_PWATER]._qactive == QUEST_INIT)
quests[Q_PWATER]._qactive = QUEST_ACTIVE;
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");
InitPWaterTriggers();
break;