summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-02 23:03:22 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-02 23:03:22 +0000
commitebf0ba7ddf1ef2c10515a1607ce7d4316e001a61 (patch)
tree51d030ed2e8e3c841690c3d879257270a2bb9064 /src/map/map.h
parentc90e9f42da90183a0be9c29a11beec7db606d44f (diff)
downloadhercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.tar.gz
hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.tar.bz2
hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.tar.xz
hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.zip
- The last, i hope, fix to the mail system.
* kRO have a possible way to read mail by just sending the open mail window packet to the client. This protection adds a mapflag town, to set the only maps that allow mail operations. because there is no way to know when client closes the mail inbox window. * git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12279 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 72f869f4e..687b89731 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -1164,6 +1164,7 @@ struct map_data {
int npc_num;
int users;
struct map_flag {
+ unsigned town : 1; // [Suggestion to protect Mail System]
unsigned autotrade : 1;
unsigned allowks : 1; // [Kill Steal Protection]
unsigned nomemo : 1;