Quiet a warning.

This commit is contained in:
C.W. Betts
2021-10-02 17:18:29 +02:00
committed by Celtic Minstrel
parent 1ce5edaa91
commit 4a25838176
2 changed files with 5 additions and 3 deletions

View File

@@ -2455,6 +2455,8 @@ static bool add_shop_entry(cDialog& me, std::string type, cShop& shop, size_t wh
list = STRT_HEALING;
prompt = "What kind of healing?";
}
else
return false;
int i = choose_text(list, -1, &me, prompt);
if(i == -1) return true;
if(list == STRT_HEALING) {