summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
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;
}