mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Removed pointer to VLC entity from CStackBasicDescriptor
This commit is contained in:
@@ -345,7 +345,7 @@ void NewTurnProcessor::updateNeutralTownGarrison(const CGTownInstance * t, int c
|
||||
// Check if town garrison already has unit of specified tier
|
||||
for(const auto & slot : t->Slots())
|
||||
{
|
||||
const auto * creature = slot.second->type;
|
||||
const auto * creature = slot.second->getCreature();
|
||||
|
||||
if (creature->getFactionID() != t->getFactionID())
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user