mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
- reorganized hero classes
- artifact iconIndex should work - new file with hardcoded string constants: lib/StringConstants.h Note: some minor bugs, will fix soon: - slow to open hero window - hero adventure map images serialization is broken\incorrect
This commit is contained in:
@@ -568,7 +568,7 @@ void CMapHandler::terrainRect( int3 top_tile, ui8 anim, const std::vector< std::
|
||||
//pick graphics of hero (or boat if hero is sailing)
|
||||
iv = (themp->boat)
|
||||
? &graphics->boatAnims[themp->boat->subID]->ourImages
|
||||
: &graphics->heroAnims[themp->type->heroType]->ourImages;
|
||||
: &graphics->heroAnims[themp->type->heroClass->id]->ourImages;
|
||||
|
||||
//pick appropriate flag set
|
||||
if(themp->boat)
|
||||
|
||||
Reference in New Issue
Block a user