From 3f9e53acc85682f282984adeb671d6035ce12bf1 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Thu, 30 May 2024 21:57:58 +0200 Subject: [PATCH] fix typo --- lib/constants/Enumerations.h | 2 +- lib/mapObjects/IMarket.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constants/Enumerations.h b/lib/constants/Enumerations.h index ef8cd894e..6e86f6bfb 100644 --- a/lib/constants/Enumerations.h +++ b/lib/constants/Enumerations.h @@ -59,7 +59,7 @@ enum class EMarketMode : int8_t { RESOURCE_RESOURCE, RESOURCE_PLAYER, CREATURE_RESOURCE, RESOURCE_ARTIFACT, ARTIFACT_RESOURCE, ARTIFACT_EXP, CREATURE_EXP, CREATURE_UNDEAD, RESOURCE_SKILL, - MARTKET_AFTER_LAST_PLACEHOLDER + MARKET_AFTER_LAST_PLACEHOLDER }; enum class EAiTactic : int8_t diff --git a/lib/mapObjects/IMarket.cpp b/lib/mapObjects/IMarket.cpp index 06fb94f1e..7f7840408 100644 --- a/lib/mapObjects/IMarket.cpp +++ b/lib/mapObjects/IMarket.cpp @@ -161,7 +161,7 @@ IMarket::IMarket() std::vector IMarket::availableModes() const { std::vector ret; - for (EMarketMode i = static_cast(0); i < EMarketMode::MARTKET_AFTER_LAST_PLACEHOLDER; i = vstd::next(i, 1)) + for (EMarketMode i = static_cast(0); i < EMarketMode::MARKET_AFTER_LAST_PLACEHOLDER; i = vstd::next(i, 1)) if(allowsTrade(i)) ret.push_back(i);