[freeciv-ai] (PR#12299) Bug in greed()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12299 >
OOps. This is my fault.
--
mateusz
--- freeciv/ai/advdiplomacy.c 2005-02-12 10:52:16.000000000 +0100
+++ changed/ai/advdiplomacy.c 2005-02-19 12:05:12.000000000 +0100
@@ -106,7 +106,7 @@
} else {
/* Don't change the operation order here.
* We do not want integer overflows */
- return ((missing_love * MAX_AI_LOVE) / 1000) *
+ return -((missing_love * MAX_AI_LOVE) / 1000) *
((missing_love * MAX_AI_LOVE) / 1000) /
50;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freeciv-ai] (PR#12299) Bug in greed(),
Mateusz Stefek <=
|
|