fix: usabillity

This commit is contained in:
pavanvo 2022-09-07 02:11:40 +04:00
parent e7cf0a01de
commit 204bac403e
No known key found for this signature in database
GPG Key ID: 34C1C36681B4AD84
2 changed files with 2 additions and 2 deletions

View File

@ -1006,7 +1006,7 @@ void Gui::computeDisplay(){
display.setCommandType(displayPos, ct);
display.setCommandClass(displayPos, ct->getClass());
bool reqOk=u->getFaction()->reqsOk(ct);
display.setDownLighted(displayPos, reqOk && !(!ct->isQueueAppendable() && isKeyDown(queueCommandKey)));
display.setDownLighted(displayPos, reqOk && !(ct->isQueuable()==qNever && isKeyDown(queueCommandKey)));
if (reqOk && produced != NULL) {
if (possibleAmount == 0) {

View File

@ -425,7 +425,7 @@ public:
virtual string toString(bool translatedValue) const;
virtual string getReqDesc(bool translatedValue) const;
virtual const ProducibleType *getProduced() const;
Queueability isQueuable() const {return qAlways;} //After morph anything can happen
Queueability isQueuable() const {return qOnRequest;}
//get
const MorphSkillType *getMorphSkillType() const {return morphSkillType;}