1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

CShowableAnim is now time-based with timing matching H3

This commit is contained in:
Ivan Savenko
2023-01-27 12:22:48 +02:00
parent a9fefffc65
commit 3acee297be
5 changed files with 23 additions and 19 deletions

View File

@@ -43,7 +43,7 @@
#include "../../lib/mapObjects/CGTownInstance.h"
CBuildingRect::CBuildingRect(CCastleBuildings * Par, const CGTownInstance * Town, const CStructure * Str)
: CShowableAnim(0, 0, Str->defName, CShowableAnim::BASE),
: CShowableAnim(0, 0, Str->defName, CShowableAnim::BASE, BUILDING_FRAME_TIME),
parent(Par),
town(Town),
str(Str),