summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-16 14:55:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 14:23:49 +0300
commit4d47b9b9a36c05744401df58efb76f1bd501a77f (patch)
tree8677feb1604610ae9b0497660fd9afb41255432c /src/map/script.c
parent83a452a8fc11e611347b9103ab11f51789a60ebf (diff)
downloadhercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.tar.gz
hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.tar.bz2
hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.tar.xz
hercules-4d47b9b9a36c05744401df58efb76f1bd501a77f.zip
Replace some direct methods usage to interfaces.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 6037c61fa..e04ba6f32 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -155,7 +155,7 @@ static void script_dump_stack(struct script_state* st)
break;
case C_NAME:
- ShowMessage(" \"%s\" (id=%d ref=%p subtype=%s)\n", reference_getname(data), data->u.num, data->ref, script_op2name(script->str_data[data->u.num].type));
+ ShowMessage(" \"%s\" (id=%d ref=%p subtype=%s)\n", reference_getname(data), data->u.num, data->ref, script->op2name(script->str_data[data->u.num].type));
break;
case C_RETINFO: