Merge branch 'feat/command-priority' into play
This commit is contained in:
commit
92cdcca576
|
@ -1009,7 +1009,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) {
|
||||
|
|
|
@ -442,7 +442,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