diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-03-08 18:55:27 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-03-08 18:55:27 +0000 |
commit | 1aa92a51088162353e1dd14b4484f63b056bce60 (patch) | |
tree | 8d32c20cf8b54d7bbbc0727df00591a332ff85e9 /src/map/atcommand.c | |
parent | ab1cb1a8302dfbed055228eab43b890a5f919f81 (diff) | |
download | hercules-1aa92a51088162353e1dd14b4484f63b056bce60.tar.gz hercules-1aa92a51088162353e1dd14b4484f63b056bce60.tar.bz2 hercules-1aa92a51088162353e1dd14b4484f63b056bce60.tar.xz hercules-1aa92a51088162353e1dd14b4484f63b056bce60.zip |
* Fixed @item2 and script command 'getitem2' not taking MAX_REFINE define into consideration (bugreport:4804).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14739 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f063110d2..b44eae946 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1673,8 +1673,8 @@ ACMD_FUNC(item2) } if (item_data->type == IT_PETARMOR) refine = 0; - if (refine > 10) - refine = 10; + if (refine > MAX_REFINE) + refine = MAX_REFINE; } else { identify = 1; refine = attr = 0; |