summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 634d4e2740..5a870cd330 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -1313,6 +1313,8 @@ static int l_item_branded(lua_State *ls)
case OBJ_MISSILES:
branded = get_ammo_brand(*item) != SPMSL_NORMAL;
break;
+ default:
+ break;
}
lua_pushboolean(ls, branded);
return (1);