Several bugfixes

- Fix light mask not rendering correctly
- Fix terrain-sourced lighting not being calculated on scenario load
- Fix light-removing items incorrectly applying their ability strength
- Fix smash patterns not affecting opaque tiles (such as mouldy walls)
- Fix monsters outside the light range not being rendered when fog is lifted
- Fix town timers not being cancelled when you leave town
- Fix non-existent outdoor wandering encounters sometimes triggering due to uninitialized data
- Hard-wrap some doc lines
This commit is contained in:
2015-06-04 21:50:08 -04:00
parent 5bcf220204
commit 80f95ba9ae
9 changed files with 40 additions and 20 deletions

View File

@@ -51,7 +51,7 @@ public:
};
class cCreature { // formerly outdoor_creature_type
public:
bool exists;
bool exists = false;
short direction;
cWandering what_monst;
location which_sector,m_loc,home_sector; // home_sector is the sector it was spawned in