* Fixed impossible condition in soundeffect script command (since athena-dev-2.1.1-mod1046, related r5841).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14583 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei 2010-12-12 13:48:14 +00:00
parent adc89d50f4
commit 6a0558d0c2
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,7 @@
Date Added
2010/12/12
* Fixed impossible condition in soundeffect script command (since athena-dev-2.1.1-mod1046, related r5841). [Ai4rei]
* Updates to the playBGM functionality (since r14335). [Ai4rei]
- Removed impossible condition in playBGM script command (from soundeffect).
- Removed unused code (retrieving of a bl) in playBGMall (from soundeffectall).

View File

@ -10876,10 +10876,7 @@ BUILDIN_FUNC(soundeffect)
if(sd)
{
if(!st->rid)
clif_soundeffect(sd,map_id2bl(st->oid),name,type);
else
clif_soundeffect(sd,&sd->bl,name,type);
clif_soundeffect(sd,&sd->bl,name,type);
}
return 0;
}