1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

Temporary disable creature amount property

This commit is contained in:
nordsoft 2022-09-09 19:38:21 +04:00
parent a0561e9d79
commit b9e685e857

View File

@ -240,7 +240,7 @@ void Inspector::updateProperties(CGCreature * o)
addProperty("Never flees", o->neverFlees, InspectorDelegate::boolDelegate(), false); addProperty("Never flees", o->neverFlees, InspectorDelegate::boolDelegate(), false);
addProperty("Not growing", o->notGrowingTeam, InspectorDelegate::boolDelegate(), false); addProperty("Not growing", o->notGrowingTeam, InspectorDelegate::boolDelegate(), false);
addProperty("Artifact reward", o->gainedArtifact); //TODO: implement in setProperty addProperty("Artifact reward", o->gainedArtifact); //TODO: implement in setProperty
addProperty("Amount", o->stacks[SlotID(0)]->count, false); //addProperty("Amount", o->stacks[SlotID(0)]->count, false);
//addProperty("Resources reward", o->resources); //TODO: implement in setProperty //addProperty("Resources reward", o->resources); //TODO: implement in setProperty
} }