- @pettalk will now fail when muted.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7893 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9572db00eb
commit
9a5e48460c
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/07/26
|
2006/07/26
|
||||||
|
* @pettalk will now fail when muted. [Skotlex]
|
||||||
* Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
|
* Enabled changing of equipment while stunned/asleep/petrified/etc [Skotlex]
|
||||||
2006/07/25
|
2006/07/25
|
||||||
* Cleaned up run_script_main to properly free previous stack-data when
|
* Cleaned up run_script_main to properly free previous stack-data when
|
||||||
|
@ -8205,6 +8205,10 @@ atcommand_pettalk(
|
|||||||
if(!sd->status.pet_id || !(pd=sd->pd))
|
if(!sd->status.pet_id || !(pd=sd->pd))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
if (sd->sc.count && //no "chatting" while muted.
|
||||||
|
(sd->sc.data[SC_BERSERK].timer!=-1 || sd->sc.data[SC_NOCHAT].timer != -1))
|
||||||
|
return -1;
|
||||||
|
|
||||||
if (sscanf(message, "%99[^\n]", mes) < 1)
|
if (sscanf(message, "%99[^\n]", mes) < 1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user