diff --git a/lib/IGameCallback.h b/lib/IGameCallback.h index 0f8b71117..076cfd804 100644 --- a/lib/IGameCallback.h +++ b/lib/IGameCallback.h @@ -62,7 +62,7 @@ public: //gives 3 treasures, 3 minors, 1 major -> used by Black Market and Artifact Merchant void pickAllowedArtsSet(std::vector & out, CRandomGenerator & rand); - auto getAllowedSpells(std::vector &out, std::optional level = std::nullopt); + void getAllowedSpells(std::vector &out, std::optional level = std::nullopt); template void saveCommonState(Saver &out) const; //stores GS and VLC