forked from github/server
when you delete an I_ enum, you must also delete the R_ enum that belongs to it.
This commit is contained in:
parent
f7502f08cf
commit
fc6e6d40dc
3 changed files with 3 additions and 4 deletions
|
@ -273,8 +273,6 @@ enum {
|
|||
AR_RUSTY_CHAIN,
|
||||
AR_SHIELD,
|
||||
AR_RUSTY_SHIELD,
|
||||
AR_EOGSHIELD,
|
||||
AR_EOGCHAIN,
|
||||
AR_MAX
|
||||
};
|
||||
|
||||
|
|
|
@ -2429,4 +2429,7 @@ register_resources(void)
|
|||
register_function((pf_generic)use_snowball, "usesnowball");
|
||||
|
||||
register_function((pf_generic)give_horses, "givehorses");
|
||||
|
||||
/* make sure noone has deleted an I_ tpe without deleting the R_ type that goes with it! */
|
||||
assert((int)I_SACK_OF_CONSERVATION == (int)R_SACK_OF_CONSERVATION);
|
||||
}
|
||||
|
|
|
@ -412,8 +412,6 @@ enum {
|
|||
R_GREATSWORD,
|
||||
R_AXE,
|
||||
R_EOGSWORD,
|
||||
R_EOGSHIELD,
|
||||
R_EOGCHAIN,
|
||||
R_EOG,
|
||||
R_SHIELD,
|
||||
R_LANCE,
|
||||
|
|
Loading…
Reference in a new issue