Make REINCARNATION unconditional.
There is a lot of code affected by this, and Pat Rankin correctly observes that it would be better to store roguelike as a level flag rather than just using Is_rogue_level. A note for the future.
This commit is contained in:
@@ -52,7 +52,6 @@ const struct icp boxiprobs[] = {
|
||||
{ 1, AMULET_CLASS}
|
||||
};
|
||||
|
||||
#ifdef REINCARNATION
|
||||
const struct icp rogueprobs[] = {
|
||||
{12, WEAPON_CLASS},
|
||||
{12, ARMOR_CLASS},
|
||||
@@ -62,7 +61,6 @@ const struct icp rogueprobs[] = {
|
||||
{ 5, WAND_CLASS},
|
||||
{ 5, RING_CLASS}
|
||||
};
|
||||
#endif
|
||||
|
||||
const struct icp hellprobs[] = {
|
||||
{20, WEAPON_CLASS},
|
||||
@@ -222,10 +220,8 @@ boolean artif;
|
||||
|
||||
if(oclass == RANDOM_CLASS) {
|
||||
const struct icp *iprobs =
|
||||
#ifdef REINCARNATION
|
||||
(Is_rogue_level(&u.uz)) ?
|
||||
(const struct icp *)rogueprobs :
|
||||
#endif
|
||||
Inhell ? (const struct icp *)hellprobs :
|
||||
(const struct icp *)mkobjprobs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user