diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-30 16:53:56 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-30 16:53:56 +0000 |
commit | 9b4059fbdfc3ad77a1102dfdac0146797182d97a (patch) | |
tree | 8775a9776bcfabac4dbff7fc0096382618ab71c6 /src/map/npc.c | |
parent | 55fee732fa5e5056268bee29a7b2d1d28ed6022c (diff) | |
download | hercules-9b4059fbdfc3ad77a1102dfdac0146797182d97a.tar.gz hercules-9b4059fbdfc3ad77a1102dfdac0146797182d97a.tar.bz2 hercules-9b4059fbdfc3ad77a1102dfdac0146797182d97a.tar.xz hercules-9b4059fbdfc3ad77a1102dfdac0146797182d97a.zip |
- Added mapflag "nochat" to prevent chatting rooms from being created.
- Corrected some of the sleep checks when the char id does not matches with the char-id expected by the script engine.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7423 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index a81a63b23..372851ca6 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2515,6 +2515,9 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4) else if (strcmpi(w3,"loadevent")==0) { // Skotlex
map[m].flag.loadevent=state;
}
+ else if (strcmpi(w3,"nochat")==0) { // Skotlex
+ map[m].flag.nochat=state;
+ }
return 0;
}
|