[Freeciv-Dev] Re: bug x 2 (PR#333)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[...]
> This can be repeated with following script:
>
> create comp
> set ysize 80
> normal
> (then client connects and...)
> start
> (client selects his nation)
> crash!
both bugs were caused by the players map being inittialized with default
x and y values, and then the values got changed later. Then a segfault
when it tried to acces a tile that was not there.
This was not caught before as I have only tested on maps smaller/equal
too the standard size... :/
So when starting a new game, when creating a player I do NOT allocate his
map (but instaed do it later)
Thanks for being an unvilling beta tester.
-Thue
initialize_map_bug-Apr-08.diff
Description: Text Data
|
|