comments.txt
diff_logs/comments.txt · 2.9 KB
From the archive diff_logs.tar.gz
Download the archive « Back to the archive contents
diff -i smaug14/src/comments.c smaug18/src/comments.c
8c8
< * Tricops and Fireblade | *
---
> * Tricops, Fireblade, Edmond, Conran | *
61d60
<
67d65
<
69c67
< * Remove comment from linked list.
---
> * Remove comment from linked list.
75a74,79
> /*
> * Fixed a big crash bug here - Luc 08/2000
> */
> if ( pnote->next )
> pnote->next->prev = pnote->prev;
>
82d85
<
84c87
< * Rewrite entire list.
---
> * Rewrite entire list.
87d89
<
90a93
>
419d421
<
425,426c427
<
< if ( ( get_trust( victim ) >= get_trust( ch ) ) || ( get_trust( ch ) < 58 ) ) /* switch to some LEVEL_ thingie */
---
> if ( get_trust( victim ) >= get_trust( ch ) || get_trust( ch ) < LEVEL_GOD )
431,434d431
<
< /*
< * argument = one_argument(argument, arg);
< */
440c437,439
<
---
> /*
> * Cleaned it somewhat here - Luc 08/2000
> */
442d440
< vnum = 0;
444,447c442
< {
< vnum++;
< if ( ( 58 <= get_trust( ch ) ) /* switch to some LEVEL_ thingie */
< && ( vnum == anum ) )
---
> if ( get_trust( ch ) >= LEVEL_GOD && !( --anum ) )
451,453d445
< /*
< * act( AT_ACTION, "$n removes a note.", ch, NULL, NULL, TO_ROOM );
< */
456,457d447
< }
<
466a457
>
469c460
< NOTE_DATA *pnote;
---
> NOTE_DATA *pnote, *last = NULL;
473a465,469
> /*
> * fread_comment will push the last note read on top of the others,
> * so let's write them in reverse to preserve note order's - Luc 08/2000
> */
>
474a471,472
> last = pnote;
> for ( pnote = last; pnote; pnote = pnote->prev )
477,480c475,478
< fprintf( fp, "sender %s~\n", pnote->sender );
< fprintf( fp, "date %s~\n", pnote->date );
< fprintf( fp, "to %s~\n", pnote->to_list );
< fprintf( fp, "subject %s~\n", pnote->subject );
---
> fprintf( fp, "sender %s~\n", pnote->sender );
> fprintf( fp, "date %s~\n", pnote->date );
> fprintf( fp, "to %s~\n", pnote->to_list );
> fprintf( fp, "subject %s~\n", pnote->subject );
485a484
>
511d509
<
515d512
<
519d515
<
523d518
<
527d521
<
528a523,529
>
> /*
> * Fixed a big bug here - Luc 08/2000
> */
> if ( pnote->next )
> pnote->next->prev = pnote;
>
533d533
<
535,537d534
< /*
< * exit( 1 );
< */
542a540
>