diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-25 02:51:01 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-25 02:51:01 +0000 |
commit | 87f869a7b32d02b16e89f7abb6f202653fcf70e6 (patch) | |
tree | dfe3d9e71be9b8a65dfc6e5466d4ebd7d2ec5472 /src/map/chrif.c | |
parent | 487ab0cc92f387857df51d0f137a1c2b671d8977 (diff) | |
download | hercules-87f869a7b32d02b16e89f7abb6f202653fcf70e6.tar.gz hercules-87f869a7b32d02b16e89f7abb6f202653fcf70e6.tar.bz2 hercules-87f869a7b32d02b16e89f7abb6f202653fcf70e6.tar.xz hercules-87f869a7b32d02b16e89f7abb6f202653fcf70e6.zip |
- All GMs will be sent to the char server through packet 0x2aff now.
- Made mob_searchname compare versus sprite, name and jname now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6263 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index ce0d0b19b..373808cc7 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1493,13 +1493,9 @@ int send_users_tochar(int tid, unsigned int tick, int id, int data) { WFIFOHEAD(char_fd, 6+8*users);
WFIFOW(char_fd,0) = 0x2aff;
for (i = 0; i < count; i++) {
- if (all_sd[i] &&
- !((battle_config.hide_GM_session || (all_sd[i]->sc.option & OPTION_INVISIBLE)) && pc_isGM(all_sd[i])))
- {
- WFIFOL(char_fd,6+8*users) = all_sd[i]->status.account_id;
- WFIFOL(char_fd,6+8*users+4) = all_sd[i]->status.char_id;
- users++;
- }
+ WFIFOL(char_fd,6+8*users) = all_sd[i]->status.account_id;
+ WFIFOL(char_fd,6+8*users+4) = all_sd[i]->status.char_id;
+ users++;
}
WFIFOW(char_fd,2) = 6 + 8 * users;
WFIFOW(char_fd,4) = users;
|