Index: common/player.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/common/player.c,v retrieving revision 1.75 diff -u -r1.75 player.c --- common/player.c 2002/02/09 14:46:22 1.75 +++ common/player.c 2002/02/10 17:28:17 @@ -442,8 +442,10 @@ **************************************************************************/ int ai_handicap(struct player *pplayer, enum handicap_type htype) { - if (!pplayer->ai.control) return -1; - return(pplayer->ai.handicap&htype); + if (!pplayer->ai.control) { + return TRUE; + } + return BOOL_VAL(pplayer->ai.handicap & htype); } /**************************************************************************