[Freeciv-Dev] Re: SDL client don't compile
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Jan 21, 2004 at 11:32:56AM +0100, Frederic Rodrigo wrote:
> In CVS version, the SDL client don't compile, at line 2015:
>
> count = fill_unit_sprite_array(pSprites, pUnit, &solid_bg);
>
> missing an argument. I don't kown if you must add FALSE or TRUE.
I think a more complex fix is needed. Something like:
if (unit_list_size(&ptile->units) > 1
|| unit_list_get(&ptile->units, 0)->occupy) {
sprs += fill_unit_sprite_array(sprs, punit, solid_bg, TRUE);
} else {
sprs += fill_unit_sprite_array(sprs, punit, solid_bg, FALSE);
}
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Microsoft does have a year 2000 problem. I'm part of it. I'm running Linux.
|
|