Sfoglia il codice sorgente

* Merged changes up to eAthena 15080.
(skipped 15079 because we use http://build.rathena.org/waterfall )

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15728 54d463be-8e91-2dee-dedb-b68131a5f0ec

eathenabot 13 anni fa
parent
commit
975defa39c
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      src/map/clif.c

+ 3 - 2
src/map/clif.c

@@ -1024,8 +1024,9 @@ static int clif_set_unit_idle(struct block_list* bl, unsigned char* buffer, bool
 
 	if( bl->type == BL_NPC && vd->class_ == FLAG_CLASS )
 	{	//The hell, why flags work like this?
-		WBUFL(buf,22) = status_get_emblem_id(bl);
-		WBUFL(buf,26) = status_get_guild_id(bl);
+		WBUFW(buf,22) = status_get_emblem_id(bl);
+		WBUFW(buf,24) = GetWord(status_get_guild_id(bl), 1);
+		WBUFW(buf,26) = GetWord(status_get_guild_id(bl), 0);
 	}
 
 	WBUFW(buf,28) = vd->hair_color;