mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Version set to 0.83c, to be released as development build.
Code reorganizations in bonus system, allowing defining bonusNode-like classes. Fixed some issues with artifact handling (proper updating of GUI when moving, minor fixes). Restoring battle AI for neutrals after loading game.
This commit is contained in:
@@ -2578,7 +2578,7 @@ bool CGameHandler::moveArtifact(si32 srcHeroID, si32 destHeroID, ui16 srcSlot, u
|
||||
// if (src.slot >= 19 && dst.slot >= 19 && src.slot < dst.slot)
|
||||
// dst.slot--;
|
||||
|
||||
if (src.slot == dst.slot)
|
||||
if (src.slot == dst.slot && src.hero == dst.hero)
|
||||
COMPLAIN_RET("Won't move artifact: Dest same as source!");
|
||||
|
||||
//moving art to backpack is always allowed (we've ruled out exceptions)
|
||||
|
Reference in New Issue
Block a user