aboutsummaryrefslogtreecommitdiff
path: root/src/magic.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-27 18:57:29 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-27 18:57:29 -0300
commite59667ec6be0a21ce702ce077154357a1c7f7c04 (patch)
tree8222cce37f8dbf1694cffa138c0bb0ad6b893bf3 /src/magic.cc
parentea319bc2fbef91e3ea062be554b215756648d1d3 (diff)
downloadgame-e59667ec6be0a21ce702ce077154357a1c7f7c04.tar.gz
game-e59667ec6be0a21ce702ce077154357a1c7f7c04.zip
`moveuse.cc`
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,