[Freeciv-Dev] (PR#7254) 20040116 win32 client crashes windows2000
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7254 >
well, i got my build to crash...by adding an assert. :)
to the function is_ground_unittype(Unit_Type_id id) in
common/unittype.c, I added the line:
assert(id >= 0 && id < U_LAST && id < game.num_unit_types);
Loading the save, setting timeout to -1, and starting the server
triggers this assert.
I found this by disassembling the CVS win32 server executable,
disassembling my own mingw build, and comparing the two with a
fine-toothed comb.
-James Canete
|
|