mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-20 09:23:42 +00:00
Warning about unhandled cases was fixed.
This commit is contained in:
parent
16d35b0b17
commit
41a3da1674
|
@ -137,7 +137,10 @@ void button::draw()
|
||||||
break;
|
break;
|
||||||
case PRESSED: image = pressedImage_;
|
case PRESSED: image = pressedImage_;
|
||||||
offset = 1;
|
offset = 1;
|
||||||
break;
|
break;
|
||||||
|
case UNINIT:
|
||||||
|
case NORMAL:
|
||||||
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
const SDL_Rect clipArea = {0,0,1024,768};
|
const SDL_Rect clipArea = {0,0,1024,768};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user