diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-16 14:14:11 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-16 14:14:11 +0000 |
commit | 3c73a02748ca50a32005a5b73933a582cd87b80f (patch) | |
tree | 9c35effdea7e3bf0a2a944957b7c2e489ba68f34 /src/map/map.h | |
parent | ccc18ecfe671803c6d6b9b6dd790c45cdf28c9ac (diff) | |
download | hercules-3c73a02748ca50a32005a5b73933a582cd87b80f.tar.gz hercules-3c73a02748ca50a32005a5b73933a582cd87b80f.tar.bz2 hercules-3c73a02748ca50a32005a5b73933a582cd87b80f.tar.xz hercules-3c73a02748ca50a32005a5b73933a582cd87b80f.zip |
* Fixed npc chatrooms not being deleted on npc unload/reload (crash)
* Modified chat code a bit for more clarity
- replaced double-indirection on 'owner' with a normal pointer
- separated some common functionality to 'chat_createchat()'
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11023 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h index 7d5340373..01af03789 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1143,8 +1143,8 @@ struct chat_data { unsigned char users; // current users unsigned char limit; // join limit unsigned char trigger; // number of users needed to trigger event - struct map_session_data *usersd[20]; - struct block_list **owner; + struct map_session_data* usersd[20]; + struct block_list* owner; char npc_event[50]; }; |