summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being/being.cpp2
-rw-r--r--src/resources/db/horsedb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 21eeeb879..46367416f 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -5350,7 +5350,7 @@ void Being::setHorse(const int horseId) restrict2
removeHorse();
if (mHorseId != 0)
{
- mHorseInfo = HorseDB::get(horseId);
+ mHorseInfo = HorseDB::get(horseId, false);
if (mHorseInfo != nullptr)
{
FOR_EACH (SpriteRefs, it, mHorseInfo->downSprites)
diff --git a/src/resources/db/horsedb.h b/src/resources/db/horsedb.h
index 226e53213..e0fd1d3eb 100644
--- a/src/resources/db/horsedb.h
+++ b/src/resources/db/horsedb.h
@@ -49,7 +49,7 @@ namespace HorseDB
void unload();
HorseInfo *get(const int id,
- const bool allowNull = false) A_WARN_UNUSED;
+ const bool allowNull) A_WARN_UNUSED;
int size();