region player_flags follow-up correction [trunk only]
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* Incrementing EDITLEVEL can be used to force invalidation of old bones
|
||||
* and save files.
|
||||
*/
|
||||
#define EDITLEVEL 17
|
||||
#define EDITLEVEL 18
|
||||
|
||||
#define COPYRIGHT_BANNER_A \
|
||||
"NetHack, Copyright 1985-2004"
|
||||
|
||||
@@ -21,6 +21,14 @@ typedef boolean FDECL((*callback_proc), (genericptr_t, genericptr_t));
|
||||
#define set_heros_fault(r) ((r)->player_flags &= ~REG_NOT_HEROS)
|
||||
#define clear_heros_fault(r) ((r)->player_flags |= REG_NOT_HEROS)
|
||||
|
||||
/*
|
||||
* Note: if you change the size/type of any of the fields below,
|
||||
* or add any/remove any fields, you must update the
|
||||
* bwrite() calls in save_regions(), and the
|
||||
* mread() calls in rest_regions() in src/region.c
|
||||
* to reflect the changes.
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
NhRect bounding_box; /* Bounding box of the region */
|
||||
NhRect *rects; /* Rectangles composing the region */
|
||||
|
||||
Reference in New Issue
Block a user