From 2f94539545b176a7dc2981b1a932b8428e33eaa7 Mon Sep 17 00:00:00 2001 From: gumi Date: Thu, 10 Jan 2019 18:30:38 -0500 Subject: drop support for gcc-5, gcc-6, clang-4, clang-5 in travis and fix some misc issues --- src/map/script-fun.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/script-fun.cpp') diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 8292bdb..ab60535 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -4150,8 +4150,10 @@ void builtin_npcareawarp(ScriptState *st) } } else + { x = random_::in(x0, x1); y = random_::in(y0, y1); + } npc_enable(npc, 0); map_delblock(nd); /* [Freeyorp] */ -- cgit v1.2.3-70-g09d2