RF_SAVEMASK needs to include RF_LIGHTHOUSE or the new report prep doesn't work.

This commit is contained in:
Enno Rehling 2016-09-17 19:52:13 +02:00
parent b41f041d52
commit e97ebb0469
2 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define RF_ALL 0xFFFFFF
#define RF_SAVEMASK (RF_CHAOTIC|RF_MALLORN|RF_BLOCKED|RF_ENCOUNTER|RF_ORCIFIED|RF_GUARDED)
#define RF_SAVEMASK (RF_CHAOTIC|RF_MALLORN|RF_BLOCKED|RF_ENCOUNTER|RF_ORCIFIED|RF_GUARDED|RF_LIGHTHOUSE)
struct message;
struct message_list;
struct rawmaterial;

View File

@ -1792,10 +1792,11 @@ int read_game(gamedata *data) {
for (r = regions; r; r = r->next) {
if (r->flags & RF_LIGHTHOUSE) {
building *b;
for (b = r->buildings; b; b = b->next)
for (b = r->buildings; b; b = b->next) {
update_lighthouse(b);
}
}
}
log_debug("marking factions as alive.");
for (f = factions; f; f = f->next) {
if (f->flags & FFL_NPC) {