summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-27 14:17:18 -0300
committershennetsind <ind@henn.et>2013-04-27 14:17:18 -0300
commitad51ea46af4590c7ca51fd55cf63f75de9dc67dc (patch)
tree1b7a5af5956fc6d15b47a8a1c70c3640d0214ae9
parent0f4a50d13538c3e5d3ca4d3822f92217c8da0479 (diff)
downloadhercules-ad51ea46af4590c7ca51fd55cf63f75de9dc67dc.tar.gz
hercules-ad51ea46af4590c7ca51fd55cf63f75de9dc67dc.tar.bz2
hercules-ad51ea46af4590c7ca51fd55cf63f75de9dc67dc.tar.xz
hercules-ad51ea46af4590c7ca51fd55cf63f75de9dc67dc.zip
Fixed Bug #7194
http://hercules.ws/board/tracker/issue-7194-guild-id-packets-sending-to-clients-is-wrong/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9fdde148e..55bc895f0 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -840,7 +840,7 @@ void clif_set_unit_idle(struct block_list* bl, struct map_session_data *tsd, enu
struct status_change* sc = status_get_sc(bl);
struct view_data* vd = status_get_viewdata(bl);
struct packet_idle_unit p;
- int g_id = status_get_emblem_id(bl);
+ int g_id = status_get_guild_id(bl);
sd = BL_CAST(BL_PC, bl);
@@ -1082,7 +1082,7 @@ void clif_spawn_unit(struct block_list* bl, enum send_target target) {
struct status_change* sc = status_get_sc(bl);
struct view_data* vd = status_get_viewdata(bl);
struct packet_spawn_unit p;
- int g_id = status_get_emblem_id(bl);
+ int g_id = status_get_guild_id(bl);
sd = BL_CAST(BL_PC, bl);
@@ -1161,7 +1161,7 @@ void clif_set_unit_walking(struct block_list* bl, struct map_session_data *tsd,
struct status_change* sc = status_get_sc(bl);
struct view_data* vd = status_get_viewdata(bl);
struct packet_unit_walking p;
- int g_id = status_get_emblem_id(bl);
+ int g_id = status_get_guild_id(bl);
sd = BL_CAST(BL_PC, bl);