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:
@@ -1727,6 +1727,8 @@ static void loadTownMapData(map_data&& data, int which, cScenario& scen) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Don't forget to set up lighting!
|
||||
town.set_up_lights();
|
||||
}
|
||||
|
||||
static void readSpecialNodesFromStream(std::istream& stream, std::vector<cSpecial>& nodes) {
|
||||
|
Reference in New Issue
Block a user