mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix boat regression
This commit is contained in:
parent
db917ae435
commit
aff079b4e6
@ -281,6 +281,8 @@ CGObjectInstance * BoatInstanceConstructor::create(std::shared_ptr<const ObjectT
|
||||
boat->actualAnimation = actualAnimation;
|
||||
boat->overlayAnimation = overlayAnimation;
|
||||
boat->flagAnimations = flagAnimations;
|
||||
boat->onboardAssaultAllowed = onboardAssaultAllowed;
|
||||
boat->onboardVisitAllowed = onboardVisitAllowed;
|
||||
for(auto & b : bonuses)
|
||||
boat->addNewBonus(std::make_shared<Bonus>(b));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user