Thread View: net.games.hack
1 messages
1 total messages
Started by Peter L DeWolf
Mon, 29 Jul 1985 19:39
timeout bug in 1.0.3
Author: Peter L DeWolf
Date: Mon, 29 Jul 1985 19:39
Date: Mon, 29 Jul 1985 19:39
24 lines
1511 bytes
1511 bytes
I was pleased to see that my suggestion that wounded legs heal with time
was implemented in the 1.0.3 distribution. Unfortunately, one line of
the fix did not make it into the distribution. Here is a context diff.
*** hack.timeout.c.orig Wed Jul 24 11:18:26 1985
--- hack.timeout.c Mon Jul 29 15:07:32 1985
***************
*** 7,13
register struct prop *upp;
if(Stoned) stoned_dialogue();
for(upp = u.uprops; upp < u.uprops+SIZE(u.uprops); upp++)
! if((upp->p_flgs & TIMEOUT) && !--upp->p_flgs) {
if(upp->p_tofn) (*upp->p_tofn)();
else switch(upp - u.uprops){
case STONED:
--- 7,13 -----
register struct prop *upp;
if(Stoned) stoned_dialogue();
for(upp = u.uprops; upp < u.uprops+SIZE(u.uprops); upp++)
! if((upp->p_flgs & TIMEOUT) && !(--upp->p_flgs & TIMEOUT)) {
if(upp->p_tofn) (*upp->p_tofn)();
else switch(upp - u.uprops){
case STONED:
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads