From 6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 23:24:24 +0300 Subject: Remove default parameter from horsedb. --- src/being/being.cpp | 2 +- src/resources/db/horsedb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2