mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Artifacts, updated map loading.
This commit is contained in:
@@ -2489,7 +2489,7 @@ bool CGameHandler::moveArtifact(si32 srcHeroID, si32 destHeroID, ui16 srcSlot, u
|
||||
&& srcArtifact && !srcArtifact->canBePutAt(dst))
|
||||
COMPLAIN_RET("Cannot swap artifacts!");
|
||||
|
||||
if ((srcArtifact && srcArtifact->artType->id == Arts::LOCK_ID) || (destArtifact && destArtifact->artType->id == Arts::LOCK_ID))
|
||||
if ((srcArtifact && srcArtifact->artType->id == Arts::ID_LOCK) || (destArtifact && destArtifact->artType->id == Arts::ID_LOCK))
|
||||
COMPLAIN_RET("Cannot move artifact locks.");
|
||||
|
||||
if (destSlot >= Arts::BACKPACK_START && srcArtifact->artType->isBig())
|
||||
|
||||
Reference in New Issue
Block a user