aboutsummaryrefslogtreecommitdiff
path: root/src/magic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/magic.cc')
-rw-r--r--src/magic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/magic.cc b/src/magic.cc
index 19a9dc8..e268a7d 100644
--- a/src/magic.cc
+++ b/src/magic.cc
@@ -2561,7 +2561,7 @@ void ChangeData(TCreature *Actor, const char *Param){
}
if(Attribute != -1){
- Change(Obj, Attribute, Value);
+ Change(Obj, (INSTANCEATTRIBUTE)Attribute, Value);
GraphicalEffect(Actor->posx, Actor->posy, Actor->posz, EFFECT_MAGIC_GREEN);
}else{
SendMessage(Actor->Connection, TALK_FAILURE_MESSAGE,