Wargus / war1gus

Importer and scripts for Warcraft: Orcs and Humans
GNU General Public License v2.0
102 stars 13 forks source link

Fix `DefineBuildingFromSpec` for `NotConstructable` buildings #444

Closed Jarod42 closed 11 months ago

Jarod42 commented 11 months ago

as orc-blackrock-spire).

It should fix

ConstructionByIdent: Unknown construction 'construction-orc-blackrock-spire'
backtrace() returned 25 addresses
ipochto commented 11 months ago

Thanks

Jarod42 commented 11 months ago

@ipochto : Did you test it? (I don't have war1 ;-) )

ipochto commented 11 months ago

Oooops:

stratagus/construct.cpp:163: ConstructionByIdent: Unknown construction 'construction-none'
backtrace() returned 29 addresses
ipochto commented 11 months ago

I don't have war1 ;-)

That's baaad news. ;)

Jarod42 commented 11 months ago

@ipochto : order changed to respect dependencies.

ipochto commented 11 months ago
src/animation/animation.cpp:431: AnimationsByIdent: Unknown animation 'animations-sorceress'
backtrace() returned 29 addresses