Separate summoned monster duration from whether it was summoned by the party

This commit is contained in:
2015-01-28 17:43:22 -05:00
parent ef288f118f
commit 76295e2f25
11 changed files with 60 additions and 61 deletions

View File

@@ -381,7 +381,7 @@ void set_town_attitude(short lo,short hi,short att) {
std::swap(lo, hi);
for(i = lo; i <= hi; i++) {
if((univ.town.monst[i].active > 0) && (univ.town.monst[i].summoned == 0)){
if(univ.town.monst[i].active > 0 && univ.town.monst[i].summon_time == 0){
univ.town.monst[i].attitude = att;
num = univ.town.monst[i].number;
// If made hostile, make mobile