From a728038ca33aabc814b24e1b1eac24ef60c93dd7 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 29 Sep 2013 09:00:18 -0700 Subject: Fix bug where all monsters had neutral element --- src/map/mob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.cpp') diff --git a/src/map/mob.cpp b/src/map/mob.cpp index b8158af..97fb760 100644 --- a/src/map/mob.cpp +++ b/src/map/mob.cpp @@ -3386,7 +3386,7 @@ bool extract(XString str, LevelElement *le) int tmp; if (extract(str, &tmp)) { - le->unpack(tmp); + *le = LevelElement::unpack(tmp); return true; } return false; -- cgit v1.2.3-60-g2f50