Browse Source

[vanilla] Correct number of monster in libraries

pull/4561/head
Anders Jenbo 4 years ago
parent
commit
52b8221460
  1. 10
      Source/themes.cpp

10
Source/themes.cpp

@ -720,14 +720,10 @@ void Theme_Library(int t)
}
}
if (Quests[Q_ZHAR].IsAvailable()) {
if (t == zharlib) {
return;
}
PlaceThemeMonsts(t, monstrnd[leveltype]); /// BUGFIX: `leveltype - 1`
} else {
PlaceThemeMonsts(t, monstrnd[leveltype]); /// BUGFIX: `leveltype - 1`
if (Quests[Q_ZHAR].IsAvailable() && t == zharlib) {
return;
}
PlaceThemeMonsts(t, monstrnd[leveltype - 1]);
}
/**

Loading…
Cancel
Save