diff options
author | bde <bde@FreeBSD.org> | 1999-09-04 14:35:19 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-09-04 14:35:19 +0000 |
commit | 2db1fa9cd9d21e4c9369760660bd2790a6caa993 (patch) | |
tree | f2a317e9ba3dfa4543e224e5ddb6412f1025c7ff /games/hack/hack.pri.c | |
parent | ad2d88c906b8c268343aeb95751bed97dc370bfe (diff) | |
download | FreeBSD-src-2db1fa9cd9d21e4c9369760660bd2790a6caa993.zip FreeBSD-src-2db1fa9cd9d21e4c9369760660bd2790a6caa993.tar.gz |
Attempt to fix world breakage for the NOSHARED=yes case. delay_output()
is in both hack and libncurses, and the elf static linker can't handle
the duplication. This is probably the correct fix for hack (it makes
it clear that the ospeed stuff can go away), but its effect on hack
has not been tested, and the linker bug remains open.
Diffstat (limited to 'games/hack/hack.pri.c')
-rw-r--r-- | games/hack/hack.pri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.pri.c b/games/hack/hack.pri.c index 13ee6b7..eb412f1 100644 --- a/games/hack/hack.pri.c +++ b/games/hack/hack.pri.c @@ -94,7 +94,7 @@ static char let; return; } if(prevx >= 0 && cansee(prevx,prevy)) { - delay_output(); + delay_output(50); prl(prevx, prevy); /* in case there was a monster */ at(prevx, prevy, levl[prevx][prevy].scrsym); } @@ -136,7 +136,7 @@ register xx,yy; } /* normal call */ if(cansee(x,y)) { - if(cnt) delay_output(); + if(cnt) delay_output(50); at(x,y,let); tc[cnt].x = x; tc[cnt].y = y; |