Jeck - Whoops. Forgot to make invisible cheats unselectable. Fixed.
This commit is contained in:
@@ -243,6 +243,7 @@ class WDecoCheat: public WGuiDeco {
|
||||
public:
|
||||
WDecoCheat(WGuiBase * _it);
|
||||
virtual bool Visible();
|
||||
bool Selectable();
|
||||
virtual void Reload();
|
||||
protected:
|
||||
bool bVisible;
|
||||
|
||||
@@ -786,6 +786,11 @@ bool WDecoCheat::Visible(){
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool WDecoCheat::Selectable(){
|
||||
if(!it || !Visible())
|
||||
return false;
|
||||
return it->Selectable();
|
||||
}
|
||||
//WDecoConfirm
|
||||
|
||||
WDecoConfirm::WDecoConfirm(JGuiListener * _listener, WGuiBase * _it): WGuiDeco(_it){
|
||||
|
||||
Reference in New Issue
Block a user