summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-15 14:48:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-15 14:48:35 +0000
commit19c2bd856eeb2ca240cbf4dc3c577d9363b2576e (patch)
tree94f654b3f371113071a25bc3087f402c894978a4 /src/map/map.c
parent0393c333d4333d59d4cdb5083a0d004b2de92cb6 (diff)
downloadhercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.tar.gz
hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.tar.bz2
hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.tar.xz
hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.zip
- Fixed clif_send not sending packets to SELF when specifying AREA if the source is not on the map yet.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7180 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index b639e8f85..70b9d290e 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1744,8 +1744,7 @@ struct map_session_data * map_charid2sd(int id) {
*------------------------------------------
*/
struct map_session_data * map_nick2sd(char *nick) {
- int i, quantity=0, users;
- struct map_session_data *sd = NULL;
+ int i, users;
struct map_session_data *pl_sd = NULL, **pl_allsd;
if (nick == NULL)