This is the mail archive of the xconq-cvs@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xconq ./ChangeLog kernel/run.c


CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	kingdon@sources.redhat.com	2002-05-18 13:55:48

Modified files:
	.              : ChangeLog 
	kernel         : run.c 

Log message:
	* kernel/run.c (run_advanced_units, allocate_used_cells): Rewrite
	multiplicative code to use integer arithmetic in the way that most
	of xconq does (returning 0 and starving could be because the old
	code would basically hope that ((float)100 / 100.0) was 1, but if
	integer 100 rounds down a bit when it becomes float, that would
	lose).  This also should fix a bug whereby granaries and the like
	do nothing in advances.g (the code was taking 150% and rounding it
	to the integer 1).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]