summaryrefslogtreecommitdiff
path: root/src/game-server/map.hpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-22 00:54:58 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-22 00:57:19 +0100
commitbfff42c853f39a7e25c82c9059b7a0af64fd7987 (patch)
treee6b4b500f0b950211922db069a26d0e21ccd5416 /src/game-server/map.hpp
parentef785e89cfbc234a9a6a620ab2fac58045259737 (diff)
downloadmanaserv-bfff42c853f39a7e25c82c9059b7a0af64fd7987.tar.gz
manaserv-bfff42c853f39a7e25c82c9059b7a0af64fd7987.tar.bz2
manaserv-bfff42c853f39a7e25c82c9059b7a0af64fd7987.tar.xz
manaserv-bfff42c853f39a7e25c82c9059b7a0af64fd7987.zip
Refuse to spawn dead monsters
The server now warns instead of spawning dead monsters. Since I threw the spawning code around a bit, I hope I didn't break it.
Diffstat (limited to 'src/game-server/map.hpp')
-rw-r--r--src/game-server/map.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game-server/map.hpp b/src/game-server/map.hpp
index c5fbb0d8..3a9badf9 100644
--- a/src/game-server/map.hpp
+++ b/src/game-server/map.hpp
@@ -108,14 +108,12 @@ class Map
/**
* Sets the size of the map. This will destroy any existing map data.
*/
- void
- setSize(int mWidth, int height);
+ void setSize(int mWidth, int height);
/**
* Get tile reference.
*/
- MetaTile*
- getMetaTile(int x, int y);
+ MetaTile *getMetaTile(int x, int y);
/**
* Marks a tile as occupied
@@ -178,7 +176,6 @@ class Map
// Pathfinding members
int onClosedList, onOpenList;
-
};
#endif