zeroany [trunk only]

Avoid function call when clearing 'anything' union.
This commit is contained in:
nethack.allison
2006-07-09 16:25:39 +00:00
parent 98a09101b1
commit 003aea0ce3
6 changed files with 16 additions and 15 deletions

View File

@@ -194,6 +194,8 @@ NEARDATA struct obj *billobjs = (struct obj *)0;
/* used to zero all elements of a struct obj */
NEARDATA struct obj zeroobj = DUMMY;
/* used to zero out union any*/
NEARDATA anything zeroany = DUMMY;
/* originally from dog.c */
NEARDATA char dogname[PL_PSIZ] = DUMMY;