Introduce enum for monster time flags

- Also, this probably fixes the issues with certain time flags (particularly the "sometimes ones) not working correctly
This commit is contained in:
2015-01-22 20:22:36 -05:00
parent aa705fac13
commit 34ee2b2c29
6 changed files with 141 additions and 56 deletions

View File

@@ -606,7 +606,7 @@ bool handle_action(location the_point,sf::Event /*event*/) {
town->creatures(i).start_attitude =
scenario.scen_monsters[mode_count].default_attitude;
town->creatures(i).mobility = 1;
town->creatures(i).time_flag = 0;
town->creatures(i).time_flag = eMonstTime::ALWAYS;
town->creatures(i).spec1 = -1;
town->creatures(i).spec2 = -1;
town->creatures(i).spec_enc_code = 0;