summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.cpp2
1 files changed, 1 insertions, 1 deletions
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;