From fcf31a258f2925650cf51f15d0280c0efb67c6a2 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 10 Apr 2016 14:14:51 -0400 Subject: consolidate client version handling --- src/map/script-fun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script-fun.cpp') diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 9014d2b..fe5a961 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -1161,7 +1161,7 @@ static void builtin_getversion(ScriptState *st) { dumb_ptr sd = script_rid2sd(st);; - push_int(st->stack, sd->client_version); + push_int(st->stack, unwrap(sd->client_version)); } /*========================================== -- cgit v1.2.3-70-g09d2