mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Converted Component class to use VariantIdentifier instead of int
This commit is contained in:
@ -2522,13 +2522,6 @@ void TurnTimeUpdate::applyGs(CGameState *gs) const
|
||||
playerState.turnTimer = turnTimer;
|
||||
}
|
||||
|
||||
Component::Component(const CStackBasicDescriptor & stack)
|
||||
: id(EComponentType::CREATURE)
|
||||
, subtype(stack.type->getId())
|
||||
, val(stack.count)
|
||||
{
|
||||
}
|
||||
|
||||
void EntitiesChanged::applyGs(CGameState * gs)
|
||||
{
|
||||
for(const auto & change : changes)
|
||||
|
Reference in New Issue
Block a user