| 3003 | } |
| 3004 | |
| 3005 | void Creature::correctEntityMovePosition(Ogre::Vector3& position) |
| 3006 | { |
| 3007 | static const double offset = 0.3; |
| 3008 | if(position.x > 0) |
| 3009 | position.x += Random::Double(-offset, offset); |
| 3010 | |
| 3011 | if(position.y > 0) |
| 3012 | position.y += Random::Double(-offset, offset); |
| 3013 | |
| 3014 | if(position.z > 0) |
| 3015 | position.z += Random::Double(-offset, offset); |
| 3016 | } |
| 3017 | |
| 3018 | void Creature::checkWalkPathValid() |
| 3019 | { |
no test coverage detected