Return if the arrow hit something after moving randomly
authorJulian Cowley <julesreid@lavanauts.org>
Mon, 7 Mar 2022 09:58:09 +0000 (23:58 -1000)
committerJulian Cowley <julesreid@lavanauts.org>
Mon, 7 Mar 2022 10:33:57 +0000 (00:33 -1000)
commitad6f6f6f4eaa9150587ec9ba56d9939542d9c54c
tree0aea57f897582e454394a4ea1e759901e50735a1
parentc98e7d5b4f051d562c58e89dcc4622467e66f123
Return if the arrow hit something after moving randomly

If the arrow hit something (you or the Wumpus) after it flew around
randomly because there was no tunnel, return from shoot().  This allows
the game to finish correctly.
wumpus.c