Bug #239 » 0040-mapgenerator4-Fix-CodeQL-bad-oddness-check-warning.patch
server/generator/mapgen.c | ||
---|---|---|
initworld(pstate);
|
||
i = player_count() / 2;
|
||
if ((player_count() % 2) == 1) {
|
||
make_island(bigweight * 3 * pstate->totalmass / totalweight, 3,
|
||
if ((player_count() & 1) == 1) {
|
||
make_island(bigweight * 3 * pstate->totalmass / totalweight, 3,
|
||
pstate, DMSIS);
|
||
} else {
|
||
i++;
|