summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 14:24:46 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 14:24:46 +0000
commitc67c8b9fbdb009880f26d8c8baf8b76f27cf4885 (patch)
tree881e9cb622f358ec973b110053c880a5ae6e7e4b /src/map
parent630838a54cc2406ecbc21089800f702ac816673d (diff)
downloadhercules-c67c8b9fbdb009880f26d8c8baf8b76f27cf4885.tar.gz
hercules-c67c8b9fbdb009880f26d8c8baf8b76f27cf4885.tar.bz2
hercules-c67c8b9fbdb009880f26d8c8baf8b76f27cf4885.tar.xz
hercules-c67c8b9fbdb009880f26d8c8baf8b76f27cf4885.zip
- Fixed various include lines in the map server (of the type <include "nullpo.h"> -> <include "../common/nullpo.h">)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5985 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/charcommand.c2
-rw-r--r--src/map/chrif.c9
-rw-r--r--src/map/irc.c2
-rw-r--r--src/map/itemdb.c2
-rw-r--r--src/map/pet.c12
5 files changed, 14 insertions, 13 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index 940e51876..3b9979e42 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -11,6 +11,7 @@
#include "../common/socket.h"
#include "../common/timer.h"
#include "../common/nullpo.h"
+#include "../common/showmsg.h"
#include "log.h"
#include "clif.h"
@@ -26,7 +27,6 @@
#include "battle.h"
#include "charcommand.h"
#include "atcommand.h"
-#include "showmsg.h"
static char command_symbol = '#';
diff --git a/src/map/chrif.c b/src/map/chrif.c
index abc7d5b09..f46fe1beb 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -17,8 +17,11 @@
#include <limits.h>
#include "../common/malloc.h"
-#include "socket.h"
-#include "timer.h"
+#include "../common/socket.h"
+#include "../common/timer.h"
+#include "../common/nullpo.h"
+#include "../common/showmsg.h"
+
#include "map.h"
#include "battle.h"
#include "chrif.h"
@@ -27,8 +30,6 @@
#include "npc.h"
#include "pc.h"
#include "status.h"
-#include "nullpo.h"
-#include "showmsg.h"
#ifndef TXT_ONLY
#include "charsave.h"
#endif
diff --git a/src/map/irc.c b/src/map/irc.c
index 8a4d3b2e0..72b9dc8a4 100644
--- a/src/map/irc.c
+++ b/src/map/irc.c
@@ -32,8 +32,8 @@ typedef int socklen_t;
#include "../common/mmo.h"
#include "../common/showmsg.h"
#include "../common/version.h"
+#include "../common/nullpo.h"
-#include "nullpo.h"
#include "map.h"
#include "pc.h"
#include "irc.h"
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index eaea7f1f2..cfb354383 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -8,8 +8,8 @@
#include "../common/nullpo.h"
#include "../common/malloc.h"
#include "../common/showmsg.h"
+#include "../common/grfio.h"
#include "map.h"
-#include "grfio.h"
#include "battle.h"
#include "itemdb.h"
#include "script.h"
diff --git a/src/map/pet.c b/src/map/pet.c
index b11ee0e15..1c176750f 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -5,11 +5,12 @@
#include <stdlib.h>
#include <string.h>
-#include "db.h"
-#include "timer.h"
-#include "socket.h"
-#include "nullpo.h"
-#include "malloc.h"
+#include "../common/db.h"
+#include "../common/timer.h"
+#include "../common/nullpo.h"
+#include "../common/malloc.h"
+#include "../common/showmsg.h"
+
#include "pc.h"
#include "status.h"
#include "map.h"
@@ -23,7 +24,6 @@
#include "npc.h"
#include "script.h"
#include "skill.h"
-#include "showmsg.h"
#define MIN_PETTHINKTIME 100