1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Remove unused variable

This commit is contained in:
nordsoft 2023-10-09 19:21:27 +02:00
parent e2b8c2e9f8
commit 335585bd11

View File

@ -242,7 +242,7 @@ void Inspector::updateProperties(CGDwelling * o)
addProperty("Owner", o->tempOwner, false); 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>); auto * delegate = new PickObjectDelegate(controller, PickObjectDelegate::typedFilter<CGTownInstance>);
addProperty("Same as town", PropertyEditorPlaceholder(), delegate, false); addProperty("Same as town", PropertyEditorPlaceholder(), delegate, false);