Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-11-02 21:49:34 +01:00
parent 34827ed8c7
commit a1a6c669f2
2 changed files with 2 additions and 3 deletions

View file

@ -25,7 +25,7 @@ SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_P
# Set CMake 2.6 Policies.
IF(COMMAND cmake_policy)
# Works around warnings libraries linked against that don't
# have absolute paths (e.g. -lpthreads)
# have absolute paths (e.g. -lpthread)
cmake_policy(SET CMP0003 NEW)
# Works around warnings about escaped quotes in ADD_DEFINITIONS

View file

@ -5704,7 +5704,6 @@ bool CCharacter::onAnimalHungry( uint petIndex, bool justBecameHungry )
// Consume to full satiety (last useful unit is entirely consumed)
animal.Satiety = animal.MaxSatiety;
nbUnits = (sint)ceil(caloriesNeeded / caloriesPerUnit);
}
nbItemsLeftToConsume -= nbUnits;