diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-26 15:35:47 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-26 15:35:47 +0000 |
commit | d865e6b3af8dddcd0db3d7281ae2cfd3b28b0e27 (patch) | |
tree | ed1a67135aad844f351b0317d6792bb9d19a0160 /src/map/script.c | |
parent | 5f608a3e128d68ca34fa582d939dc63b17822fb5 (diff) | |
download | hercules-d865e6b3af8dddcd0db3d7281ae2cfd3b28b0e27.tar.gz hercules-d865e6b3af8dddcd0db3d7281ae2cfd3b28b0e27.tar.bz2 hercules-d865e6b3af8dddcd0db3d7281ae2cfd3b28b0e27.tar.xz hercules-d865e6b3af8dddcd0db3d7281ae2cfd3b28b0e27.zip |
- Wedding Dress/Tuxedo now handle view-change using the onequip/onunequip scripts.
- Removed special state changebase and view-change check on status_calc_pc
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index e708ef2ca..20b761b2d 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6348,10 +6348,8 @@ int buildin_changebase(struct script_state *st) return 0;
}
- if(!sd->disguise && !sd->special_state.changebase) {
+ if(!sd->disguise && vclass != sd->vd.class_)
status_set_viewdata(&sd->bl, vclass);
- sd->special_state.changebase =1; //Character on suit.
- }
return 0;
}
|