diff options
Diffstat (limited to 'src/resources/db/emotedb.cpp')
-rw-r--r-- | src/resources/db/emotedb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/emotedb.cpp b/src/resources/db/emotedb.cpp index accea5ae9..eb5eef418 100644 --- a/src/resources/db/emotedb.cpp +++ b/src/resources/db/emotedb.cpp @@ -108,6 +108,8 @@ void EmoteDB::loadXmlFile(const std::string &fileName) currentInfo = mEmoteInfos[id]; else currentInfo = new EmoteInfo; + if (!currentInfo) + continue; currentInfo->time = XML::getProperty(emoteNode, "time", 500); currentInfo->effectId = XML::getProperty(emoteNode, "effect", -1); |