mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
marked intended fallthroughs to prevent errors
This commit is contained in:
parent
e4947acef7
commit
4b45872443
@ -539,10 +539,10 @@ void celldrawer::setcolors() {
|
||||
fcol = wcol = gradient(wcol, 0x40FF40, 0, 0.2, 1);
|
||||
else if(mine::marked_mine(c))
|
||||
fcol = wcol = gradient(wcol, 0xFF4040, -1, sintick(100), 1);
|
||||
// fallthrough
|
||||
goto fallthrough;
|
||||
#endif
|
||||
|
||||
case waMineOpen:
|
||||
case waMineOpen: fallthrough:
|
||||
if(wmblack || wmascii) {
|
||||
wcol &= 0xFEFEFE;
|
||||
wcol >>= 1;
|
||||
|
@ -2221,10 +2221,10 @@ EX void draw_model_elements() {
|
||||
}
|
||||
|
||||
queuereset(pmodel, PPR::CIRCLE);
|
||||
/* fallthrough */
|
||||
goto fallthrough;
|
||||
}
|
||||
|
||||
case mdTwoPoint: case mdSimulatedPerspective: {
|
||||
case mdTwoPoint: case mdSimulatedPerspective: fallthrough: {
|
||||
ld a = -pconf.model_orientation * degree;
|
||||
queuestr(shiftless(xspinpush0(a, +pconf.twopoint_param)), vid.xres / 100, "X", ringcolor >> 8);
|
||||
queuestr(shiftless(xspinpush0(a, -pconf.twopoint_param)), vid.xres / 100, "X", ringcolor >> 8);
|
||||
|
Loading…
Reference in New Issue
Block a user