Module Name: src Committed By: mrg Date: Mon Feb 4 03:33:15 UTC 2019
Modified Files: src/games/hack: hack.eat.c Log Message: - done() can return in wizard mode. don't NOTREACHED'd it but break instead. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/games/hack/hack.eat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/hack/hack.eat.c diff -u src/games/hack/hack.eat.c:1.12 src/games/hack/hack.eat.c:1.13 --- src/games/hack/hack.eat.c:1.12 Sun Aug 7 06:03:45 2011 +++ src/games/hack/hack.eat.c Mon Feb 4 03:33:15 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: hack.eat.c,v 1.12 2011/08/07 06:03:45 dholland Exp $ */ +/* $NetBSD: hack.eat.c,v 1.13 2019/02/04 03:33:15 mrg Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.eat.c,v 1.12 2011/08/07 06:03:45 dholland Exp $"); +__RCSID("$NetBSD: hack.eat.c,v 1.13 2019/02/04 03:33:15 mrg Exp $"); #endif /* not lint */ #include "hack.h" @@ -539,7 +539,7 @@ eatcorpse(struct obj *otmp) pline("You turn to stone."); killer = "dead cockatrice"; done("died"); - /* NOTREACHED */ + break; case 'a': if (Stoned) { pline("What a pity - you just destroyed a future piece of art!");