1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-10 21:29:03 +00:00

marked intended fallthroughs to prevent errors

This commit is contained in:
Zeno Rogue
2021-03-12 15:31:00 +01:00
parent e4947acef7
commit 4b45872443
2 changed files with 4 additions and 4 deletions

View File

@@ -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);