1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Make object fade-out / fade-in instant on instant movement speed

This commit is contained in:
Ivan Savenko
2023-08-10 12:54:26 +03:00
parent 45215f12f3
commit e9fb0c9b8c
2 changed files with 21 additions and 4 deletions

View File

@ -50,6 +50,7 @@ class MapViewController : public IMapObjectObserver
std::shared_ptr<MapRendererPuzzleMapContext> puzzleMapContext;
private:
bool isEventInstant(const CGObjectInstance * obj);
bool isEventVisible(const CGObjectInstance * obj);
bool isEventVisible(const CGHeroInstance * obj, const int3 & from, const int3 & dest);