From bfff42c853f39a7e25c82c9059b7a0af64fd7987 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 22 Nov 2008 00:54:58 +0100 Subject: 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. --- src/game-server/map.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/game-server/map.hpp') 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 -- cgit v1.2.3-70-g09d2