summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 23:04:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 23:04:56 +0000
commit03a0930bca1ecd78e36d7fe26d57b98bb3619dff (patch)
treed1406f62cd5becac36019d287b9777e49e2f771b /src/map/clif.c
parentd4af767c7bc60c330cdc9b470e770bc382b3121e (diff)
downloadhercules-03a0930bca1ecd78e36d7fe26d57b98bb3619dff.tar.gz
hercules-03a0930bca1ecd78e36d7fe26d57b98bb3619dff.tar.bz2
hercules-03a0930bca1ecd78e36d7fe26d57b98bb3619dff.tar.xz
hercules-03a0930bca1ecd78e36d7fe26d57b98bb3619dff.zip
- Updated SKA to return a random value between 0 and 99 each time status_get_def is invoked.
- Updated Making Arrow to not include unidentified items in the list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6540 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 36f53d271..b020d3f9f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2968,7 +2968,7 @@ int clif_arrow_create_list(struct map_session_data *sd)
for (i = 0, c = 0; i < MAX_SKILL_ARROW_DB; i++) {
if (skill_arrow_db[i].nameid > 0 &&
(j = pc_search_inventory(sd, skill_arrow_db[i].nameid)) >= 0 &&
- !sd->status.inventory[j].equip)
+ !sd->status.inventory[j].equip && sd->status.inventory[j].identify)
{
if ((j = itemdb_viewid(skill_arrow_db[i].nameid)) > 0)
WFIFOW(fd,c*2+4) = j;