mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-13 22:06:58 +02:00
Market fix
This commit is contained in:
parent
e8a6308a15
commit
738a89bb99
@ -757,6 +757,9 @@ bool CGTownInstance::allowsTrade(EMarketMode mode) const
|
|||||||
|
|
||||||
case EMarketMode::RESOURCE_SKILL:
|
case EMarketMode::RESOURCE_SKILL:
|
||||||
return hasBuilt(BuildingSubID::MAGIC_UNIVERSITY);
|
return hasBuilt(BuildingSubID::MAGIC_UNIVERSITY);
|
||||||
|
case EMarketMode::CREATURE_EXP:
|
||||||
|
case EMarketMode::ARTIFACT_EXP:
|
||||||
|
return false;
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user