diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-20 16:21:37 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-20 16:21:37 +0000 |
commit | b5bcd3c54bfe30e7602a92d4b39ee15973f3c46f (patch) | |
tree | fb12351bc05dea4dea9158a427724b8b89a467c0 /src/map/skill.c | |
parent | 85db367d556b31b432b2e3b2c909cca14d6248f2 (diff) | |
download | hercules-b5bcd3c54bfe30e7602a92d4b39ee15973f3c46f.tar.gz hercules-b5bcd3c54bfe30e7602a92d4b39ee15973f3c46f.tar.bz2 hercules-b5bcd3c54bfe30e7602a92d4b39ee15973f3c46f.tar.xz hercules-b5bcd3c54bfe30e7602a92d4b39ee15973f3c46f.zip |
Changed pc_can_give_items() to use standard boolean logic instead of the inverted 1/0 one (bugreport:396)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12220 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index b42bb13cc..706fd5bd1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3933,7 +3933,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case MC_VENDING: if(sd) { //Prevent vending of GMs with unnecessary Level to trade/drop. [Skotlex] - if ( pc_can_give_items(pc_isGM(sd)) ) + if ( !pc_can_give_items(pc_isGM(sd)) ) clif_skill_fail(sd,skillid,0,0); else clif_openvendingreq(sd,2+skilllv); |