summaryrefslogtreecommitdiff
path: root/src/game-server/testing.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-08 13:31:33 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-08 13:31:33 +0000
commitf23ebba72f01fc6fac49211a50ca008c8af4ed84 (patch)
tree65a603d92548643f4b7d197464c2942722bc374c /src/game-server/testing.cpp
parenta4c7586b310a8be8ffd5c8acad88b5236695c1da (diff)
downloadmanaserv-f23ebba72f01fc6fac49211a50ca008c8af4ed84.tar.gz
manaserv-f23ebba72f01fc6fac49211a50ca008c8af4ed84.tar.bz2
manaserv-f23ebba72f01fc6fac49211a50ca008c8af4ed84.tar.xz
manaserv-f23ebba72f01fc6fac49211a50ca008c8af4ed84.zip
Added monster drops.
Diffstat (limited to 'src/game-server/testing.cpp')
-rw-r--r--src/game-server/testing.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp
index 8bde8e61..31f26d6a 100644
--- a/src/game-server/testing.cpp
+++ b/src/game-server/testing.cpp
@@ -9,6 +9,7 @@
#include "game-server/itemmanager.hpp"
#include "game-server/mapcomposite.hpp"
#include "game-server/mapmanager.hpp"
+#include "game-server/monstermanager.hpp"
#include "game-server/spawnarea.hpp"
#include "game-server/state.hpp"
#include "game-server/trigger.hpp"
@@ -37,7 +38,7 @@ void testingMap(MapComposite *map)
{
// Create maggot spawn area
Rectangle maggotSpawnRect = { 720, 900, 320, 320 };
- GameState::insert(new SpawnArea(map, maggotSpawnRect));
+ GameState::insert(new SpawnArea(map, MonsterManager::getMonster(1002), maggotSpawnRect));
// Portal to map 3
GameState::insert(new TriggerArea(map, rectA, &warpA));