Project

General

Profile

Bug #449 » 0013-update_bulbs-Fix-researching_saved-A_UNSET-handling.patch

S3_1 - Marko Lindqvist, 04/14/2024 01:17 AM

View differences:

server/techtools.c
return;
}
/* count our research contribution this turn */
/* Count our research contribution this turn */
pplayer->server.bulbs_last_turn += bulbs;
research->bulbs_researched += bulbs;
advance_index_iterate(A_FIRST, j) {
......
research->inventions[j].bulbs_researched_saved = research->bulbs_researched;
}
} advance_index_iterate_end;
if (A_UNKNOWN != research->researching_saved) {
if (research->researching_saved != A_UNKNOWN && research->researching_saved != A_UNSET) {
research->bulbs_researching_saved += bulbs;
}
(2-2/2)