- Fixed pc_disguise not allowing you to "redisguise".
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6442 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4382529413
commit
ff981b5404
@ -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/05/01
|
2006/05/01
|
||||||
|
* Fixed pc_disguise not allowing you to "redisguise". [Skotlex]
|
||||||
* Corrected a crash when sd is null in npc_event [Skotlex]
|
* Corrected a crash when sd is null in npc_event [Skotlex]
|
||||||
* After testing to make sure it works properly, I'm including
|
* After testing to make sure it works properly, I'm including
|
||||||
new battle conf options to limit MVP drops. [Reddozen]
|
new battle conf options to limit MVP drops. [Reddozen]
|
||||||
|
@ -1092,7 +1092,7 @@ int pc_checkweighticon(struct map_session_data *sd)
|
|||||||
int pc_disguise(struct map_session_data *sd, int class_) {
|
int pc_disguise(struct map_session_data *sd, int class_) {
|
||||||
if (!class_ && !sd->disguise)
|
if (!class_ && !sd->disguise)
|
||||||
return 0;
|
return 0;
|
||||||
if (class_ && (sd->disguise || pc_isriding(sd)))
|
if (class_ && (sd->disguise == class_ || pc_isriding(sd)))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
pc_stop_walking(sd, 0);
|
pc_stop_walking(sd, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user