1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Remove pointer to CGObjectInstance from map header

This commit is contained in:
Ivan Savenko
2023-11-17 16:39:15 +02:00
parent f53a53051b
commit 9f906ff1d2
7 changed files with 29 additions and 34 deletions

View File

@ -68,7 +68,6 @@ bool PlayerInfo::hasCustomMainHero() const
}
EventCondition::EventCondition(EWinLoseType condition):
object(nullptr),
value(-1),
position(-1, -1, -1),
condition(condition)
@ -76,7 +75,6 @@ EventCondition::EventCondition(EWinLoseType condition):
}
EventCondition::EventCondition(EWinLoseType condition, si32 value, TargetTypeID objectType, const int3 & position):
object(nullptr),
value(value),
objectType(objectType),
position(position),