Skip to content

Commit

Permalink
Fix monster evolution delay bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Trioct committed Jan 9, 2020
1 parent 308d6dc commit a175f4d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,6 @@ void monster::try_upgrade( bool pin_time )
if( pin_time || type->age_grow > 0 ) {
// offset by today, always true for growing creatures
upgrade_time += current_day;
} else {
// offset by starting season
// @TODO: revisit this and make it simpler
upgrade_time += to_days<int>( calendar::start_of_cataclysm - calendar::turn_zero );
}
}

Expand Down

0 comments on commit a175f4d

Please sign in to comment.