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:
parent
e2b8c2e9f8
commit
335585bd11
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user