summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp
index 4b627ffde..90494a7d1 100644
--- a/src/spellmanager.cpp
+++ b/src/spellmanager.cpp
@@ -198,7 +198,7 @@ std::string SpellManager::parseCommand(std::string command,
{
name = target->getName();
name2 = name;
- id = toString(target->getId());
+ id = toString(toInt(target->getId(), int));
}
else
{