From 9f5883f4c45362a3286c8bcdb0f1feb6cafe5a47 Mon Sep 17 00:00:00 2001 From: galaxyhaxz Date: Sun, 19 Aug 2018 21:34:44 -0500 Subject: [PATCH] Fix dungeon generation of the Cathedral (#165) Devilicious!! --- Source/drlg_l1.cpp | 6 +++--- Support/TODO.md | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/drlg_l1.cpp b/Source/drlg_l1.cpp index 65ccb88ca..9a4578602 100644 --- a/Source/drlg_l1.cpp +++ b/Source/drlg_l1.cpp @@ -847,7 +847,7 @@ void __cdecl DRLG_L1Shadows() do { v1 = &dungeon[0][v0 + 39]; - v2 = 40; + v2 = 1; do { v3 = &SPATS[0].s1; @@ -884,10 +884,10 @@ void __cdecl DRLG_L1Shadows() v3 += 7; } while ( (signed int)v3 < (signed int)&SPATS[37].s1 ); - v2 += 40; + ++v2; v1 += 40; } - while ( v2 < 1600 ); + while ( v2 < 40 ); ++v0; } while ( v0 < 40 ); diff --git a/Support/TODO.md b/Support/TODO.md index 6d6a19c9e..813dae3d9 100644 --- a/Support/TODO.md +++ b/Support/TODO.md @@ -8,7 +8,9 @@ Serious bugs (crash/fault) - TBA Minor bugs (noticeable but can be avoided) -- Generation of Cathedral/Catacombs walls and floors are slightly inaccurate +- Generation of Catacombs walls and floors are slightly inaccurate +- Monsters don't populate Catacombs' rooms all the time +- Lighting of objects/items in dungeon is slightly lighter than it should be - Some tiles are drawn fully lit when they should be transparent `world.cpp` - Timed messages are broken and have been disabled `tmsg.cpp` - Server commands are broken and have been disabled `msgcmd.cpp`