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

@@ -602,7 +602,7 @@ location end_town_mode(short switching_level,location destination) { // returns
to_return = univ.party.p_loc;
std::remove_if(univ.party.party_event_timers.begin(), univ.party.party_event_timers.end(), [](const cTimer& t) {
erase_if(univ.party.party_event_timers, [](const cTimer& t) {
return t.node_type == 2;
});