[Freeciv-Dev] Duplicated code
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The function init_warmap is called at the beginning of
really_generate_warmap:
http://www.freeciv.org/lxr/source/server/gotohand.c?v=cvs#L293
However, generate_warmap calls this function right before calling
really_generate_warmap in several instances:
http://www.freeciv.org/lxr/source/server/gotohand.c?v=cvs#L400
What gives? Aside from being wasteful, this seems rather bug-prone.
jason
- [Freeciv-Dev] Duplicated code,
Jason Dorje Short <=
|
|