Let the season simulation measure the manager's own attitude

SIM_TACTICS takes the assistant off the bench when it sets the attitude, as the
tactics board does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 23:37:49 +01:00
1 parent e3f96e80f6
commit c560268373
1 file changed
+5 -1
+5 -1
View File
@@ -509,7 +509,11 @@ int main(int argc, char** argv) {
std::stringstream list(tactics);
std::string item;
for (size_t k = 0; k < 8 && std::getline(list, item, ','); ++k)
if (const int v = std::atoi(item.c_str()); v >= 0) g.manager_records.at(0xd2 + k) = uint8_t(v);
if (const int v = std::atoi(item.c_str()); v >= 0) {
g.manager_records.at(0xd2 + k) = uint8_t(v);
// an attitude of the manager's own takes the assistant off the bench (option byte 2)
if (k == 0 && g.manager_options.size() > 2) g.manager_options[2] = 0;
}
}
// SIM_ADVERTISING=1: the manager keeps his advertising places filled, as every
// player does (the largest income besides the gate): an expired contract is renewed