summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 23:24:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 23:24:24 +0300
commit6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6 (patch)
tree7d1d92e613ecabed3a29b1f6f5593c77154f13bc /src
parentd5d5c487f97fe5a03b6598f5c41f7e71850ff8b7 (diff)
downloadplus-6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6.tar.gz
plus-6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6.tar.bz2
plus-6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6.tar.xz
plus-6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6.zip
Remove default parameter from horsedb.
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();