diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-02-25 20:07:30 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-02-25 20:07:30 +0000 |
commit | 31d7d5eb18f849e09b950b167cad35f683d29eac (patch) | |
tree | 182ae362a7b4b27256322ff03fd6d74d3cfece4d | |
parent | d80ff75aea2dac06d764afef9c40c86116e99bad (diff) | |
download | manaserv-31d7d5eb18f849e09b950b167cad35f683d29eac.tar.gz manaserv-31d7d5eb18f849e09b950b167cad35f683d29eac.tar.bz2 manaserv-31d7d5eb18f849e09b950b167cad35f683d29eac.tar.xz manaserv-31d7d5eb18f849e09b950b167cad35f683d29eac.zip |
forgot to set the hit circle size.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/game-server/testing.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -2,8 +2,8 @@ * src/game-server/collision.cpp, src/game-server/collision.hpp: Added a function to calculate collisions between circles and circle sectors. - * src/being.cpp, src/object.hpp: Improved hit detection by using said - function. + * src/being.cpp, src/object.hpp, src/testing.cpp: Improved hit detection by + using said function. 2007-02-23 Rogier Polak <rogier.l.a.polak@gmail.com> diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp index 61244974..86f47f2c 100644 --- a/src/game-server/testing.cpp +++ b/src/game-server/testing.cpp @@ -36,6 +36,7 @@ void testingMap(int id) { Being *being = new Controlled(OBJECT_MONSTER); being->setSpeed(150); + being->setSize(8); being->setMapId(1); Point pos = { 720, 900 }; being->setPosition(pos); |