[Freeciv-Dev] barbarian.c fix
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This moves the game.nplayers++ lines earlier in the 'make new player' part
of the barbarian code. The reason is that calling general functions like
init_tech() and ai_data_init() with a pplayer pointer that is not in the
players_iterate list is not sane.
Unless objections are voiced, I will commit this ASAP as it is trivial and
another patch needs it.
- Per
barb1.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] barbarian.c fix,
Per I. Mathisen <=
|
|