mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Remove unused variable
This commit is contained in:
@@ -242,7 +242,7 @@ void Inspector::updateProperties(CGDwelling * o)
|
||||
|
||||
addProperty("Owner", o->tempOwner, false);
|
||||
|
||||
if(auto * info = dynamic_cast<CCreGenAsCastleInfo*>(o->info))
|
||||
if(dynamic_cast<CCreGenAsCastleInfo*>(o->info))
|
||||
{
|
||||
auto * delegate = new PickObjectDelegate(controller, PickObjectDelegate::typedFilter<CGTownInstance>);
|
||||
addProperty("Same as town", PropertyEditorPlaceholder(), delegate, false);
|
||||
|
Reference in New Issue
Block a user