summaryrefslogtreecommitdiff
path: root/CreatureConfiguration.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-03-10 18:48:13 +0100
committerPetr Mrázek2012-03-10 18:48:13 +0100
commitf05386bae01d1840bdc889f30253ed50ee892860 (patch)
treeb5c0745c84c4d2a69c0e93aa9db8148eeb2eb740 /CreatureConfiguration.cpp
parent96bbfa604d1835df993602cbf46ca6bb0a28e6bd (diff)
downloadstonesense-f05386bae01d1840bdc889f30253ed50ee892860.tar.gz
stonesense-f05386bae01d1840bdc889f30253ed50ee892860.tar.bz2
stonesense-f05386bae01d1840bdc889f30253ed50ee892860.tar.xz
Plugin API changes
No more Core propagation!
Diffstat (limited to 'CreatureConfiguration.cpp')
-rw-r--r--CreatureConfiguration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CreatureConfiguration.cpp b/CreatureConfiguration.cpp
index 2713780..93452cb 100644
--- a/CreatureConfiguration.cpp
+++ b/CreatureConfiguration.cpp
@@ -66,7 +66,7 @@ int translateProfession(const char* currentProf)
return j;
}
}
- WriteErr("Unable to match profession '%s' to anything in-game\n", currentProf);
+ LogError("Unable to match profession '%s' to anything in-game\n", currentProf);
return INT_MAX; //if it is left at INVALID_INDEX, the condition is ignored entierly.
}
@@ -137,7 +137,7 @@ bool addSingleCreatureConfig( TiXmlElement* elemCreature, vector<vector<Creature
if (customStr != NULL)
{
- WriteErr("custom: %s\n",customStr);
+ LogError("custom: %s\n",customStr);
}
const char* sexstr = elemVariant->Attribute("sex");