aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/gfx/image/art.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sword25/gfx/image/art.cpp b/engines/sword25/gfx/image/art.cpp
index 454c7e1047..4296ec6fdb 100644
--- a/engines/sword25/gfx/image/art.cpp
+++ b/engines/sword25/gfx/image/art.cpp
@@ -488,6 +488,8 @@ ArtVpath *art_bez_path_to_vec(const ArtBpath *bez, double flatness) {
x = bez[bez_index].x3;
y = bez[bez_index].y3;
break;
+ default:
+ break;
}
} while (bez[bez_index++].code != ART_END);
return vec;
@@ -768,6 +770,8 @@ static void render_cap(ArtVpath **p_result, int *pn_result, int *pn_result_max,
vpath[i1].x + dlx0 - dly0,
vpath[i1].y + dly0 + dlx0);
break;
+ default:
+ break;
}
}