summaryrefslogtreecommitdiff
path: root/src/resources/db/emotedb.cpp
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2024-02-16 14:50:14 -0300
committerJesusaves <cpntb1@ymail.com>2024-02-18 00:31:12 -0300
commitd36cb0eb4b7bba79b2b654c0e5f91f16726bdc68 (patch)
treed4279a38b763cefd033cfbf4d1ec2ff13c5e5dd2 /src/resources/db/emotedb.cpp
parent775392e472933be8d1d76619894efc0671f0c02d (diff)
downloadmv-jesusalva/renameprog.tar.gz
mv-jesusalva/renameprog.tar.bz2
mv-jesusalva/renameprog.tar.xz
mv-jesusalva/renameprog.zip
Rename the program from ManaPlus to ManaVerse.jesusalva/renameprog
Diffstat (limited to 'src/resources/db/emotedb.cpp')
-rw-r--r--src/resources/db/emotedb.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/resources/db/emotedb.cpp b/src/resources/db/emotedb.cpp
index 25501eaa1..301e35108 100644
--- a/src/resources/db/emotedb.cpp
+++ b/src/resources/db/emotedb.cpp
@@ -1,7 +1,8 @@
/*
* The ManaPlus Client
* Copyright (C) 2009 Aethyra Development Team
- * Copyright (C) 2011-2019 The ManaPlus Developers
+ * Copyright (C) 2011-2020 The ManaPlus Developers
+ * Copyright (C) 2020-2023 The ManaVerse Developers
*
* This file is part of The ManaPlus Client.
*
@@ -64,7 +65,7 @@ void EmoteDB::load()
loadXmlFile(paths.getStringValue("emotesFile"), SkipError_false);
loadXmlFile(paths.getStringValue("emotesPatchFile"), SkipError_true);
loadXmlDir("emotesPatchDir", loadXmlFile)
- loadSpecialXmlFile("graphics/sprites/manaplus_emotes.xml",
+ loadSpecialXmlFile("graphics/sprites/manaverse_emotes.xml",
SkipError_false);
mLoaded = true;
@@ -156,7 +157,7 @@ void EmoteDB::loadSpecialXmlFile(const std::string &fileName,
if ((rootNode == nullptr) || !xmlNameEqual(rootNode, "emotes"))
{
logger->log1("Emote Database: Error while loading"
- " manaplus_emotes.xml!");
+ " manaverse_emotes.xml!");
return;
}
@@ -179,7 +180,7 @@ void EmoteDB::loadSpecialXmlFile(const std::string &fileName,
if (id == -1)
{
reportAlways("Emote Database: Emote with missing ID in "
- "manaplus_emotes.xml!")
+ "manaverse_emotes.xml!")
continue;
}
const int altId = XML::getProperty(emoteNode, "altid", -1);