Bug #962

animal consumes one unit too many

Added by nimetu about 8 years ago. Updated over 7 years ago.

Status:Closed Start date:06/04/2010
Priority:Normal Due date:
Assignee:vl % Done:

100%

Category:Services: General
Target version:Version 0.8.0

Description

animal satiety 1000. food is 500. Animal should only consume 2, but it eats 3. (1000/500 + 1)
+1 makes sense when the food is 300, then it correctly consumes 4

in theory attached diff should fix it... i hope

001-animal-food.diff (632 Bytes) Magnifier nimetu, 06/04/2010 11:16 pm

History

#1 Updated by vl about 8 years ago

  • Category set to Services: General
  • Status changed from New to Assigned
  • Assignee set to vl

#2 Updated by vl about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r296.

#3 Updated by kervala about 8 years ago

  • Target version set to Version 0.8.0

#4 Updated by kervala over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF