Undid revision r9792 (npcshopattach)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9796 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-02-06 00:32:40 +00:00
parent 29e3b9e204
commit c5450173b1
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
* The inf2 parameter of the skill_db is now red as an hexadecimal.
* The super novice self-revive angel will now trigger only once per
session, if you relog you can have it trigger again. [Skotlex]
* Applied Dj-Yhn's fix to 'npcshopattach' [ultramage]
* Fixed the skill tree not always updating when using @allskill
* Probably fixed the target-change on melee attack setting not working.
* Moved the deletion of the invincible timer when using skills so that it

View File

@ -12007,7 +12007,7 @@ int buildin_npcshopattach(struct script_state *st)
char* npcname = conv_str(st, & (st->stack->stack_data[st->start+2]));
int flag = 1;
if( script_hasdata(st,2) )
if( script_hasdata(st,3) )
flag = conv_num(st, script_getdata(st,3));
nd = npc_name2id(npcname);