Browse Source

Fix hack(6).

- Write savegames and scorefiles to the current directory instead of /var
- Save oc_name and oc_descr alongside oc_uname in all situations
- When a levitation potion times out, explicitly float down
These patches were contributed last year by "tonypony76"; thanks!
ok deraadt@, with added enthusiasm from tedu@
OPENBSD_6_5
bentley 5 years ago
parent
commit
0c960b60de
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      src/etc/mtree/4.4BSD.dist

+ 3
- 5
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.308 2019/04/01 07:21:37 deraadt Exp $
# $OpenBSD: 4.4BSD.dist,v 1.309 2019/04/05 09:02:27 bentley Exp $
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
@ -433,6 +433,8 @@ usr
.. ..
fortune fortune
.. ..
hack
..
quiz.db quiz.db
.. ..
.. ..
@ -634,10 +636,6 @@ var
# ./var/games # ./var/games
games uname=root gname=games mode=0775 games uname=root gname=games mode=0775
hackdir uname=root gname=games mode=0775
save uname=root gname=games mode=0770
..
..
save uname=root gname=games mode=0775 save uname=root gname=games mode=0775
.. ..
phantasia uname=root gname=games mode=0775 phantasia uname=root gname=games mode=0775


Loading…
Cancel
Save