fix: usabillity
This commit is contained in:
parent
e7cf0a01de
commit
204bac403e
|
@ -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) {
|
||||
|
|
|
@ -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;}
|
||||
|
|
Loading…
Reference in New Issue