From 013f7cfd2145ba79f8417d41f0c02f1e54225135 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 3 Oct 2016 01:35:11 -0400 Subject: [PATCH] Set no_target_hotkey in Mob ctor Fixes UBSan error --- zone/mob.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zone/mob.cpp b/zone/mob.cpp index fb4c14bf2..1caf69918 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -365,6 +365,7 @@ Mob::Mob(const char* in_name, patrol=0; follow=0; follow_dist = 100; // Default Distance for Follow + no_target_hotkey = false; flee_mode = false; currently_fleeing = false; flee_timer.Start();