Michał W. Urbańczyk 18 lat temu
rodzic
commit
4a5bdb5351
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      CMessage.h

+ 2 - 2
CMessage.h

@@ -45,7 +45,7 @@ template <class T=ttt> struct SetrButton: public Button<T>
 {
 	int key, * poin;
 	virtual void press(bool down=true);
-	SetrButton(){type=0;selectable=selected=false;state=0;}
+	SetrButton(){type=0;selectable=selected=false;state=0;highlightable=false;}
 };
 template<class T=CPreGame>  class Slider
 { //
@@ -76,7 +76,7 @@ template<class T=ttt>  struct IntBut: public Button<T>
 public:
 	int key;
 	int * what;
-	IntBut(){type=2;fun=NULL;};
+	IntBut(){type=2;fun=NULL;highlightable=false;};
 	IntBut( SDL_Rect Pos, T Fun,CDefHandler* Imgs, bool Sel, int Key, int * What)
 		: Button(Pos,Fun,Imgs,Sel,gr),key(My),key(Key),what(What){ourGroup=gr;type=2;fun=NULL;};
 	void set(){*what=key;};