current_fruit (trunk only)
I almost abandoned this when Michael beat me to it, but besides handling the fruit rename bug it also moves `current_fruit' into the context structure to eliminate separate save/restore for that.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)decl.c 3.5 2008/01/30 */
|
||||
/* SCCS Id: @(#)decl.c 3.5 2008/07/20 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -55,7 +55,6 @@ NEARDATA char pl_character[PL_CSIZ] = DUMMY;
|
||||
NEARDATA char pl_race = '\0';
|
||||
|
||||
NEARDATA char pl_fruit[PL_FSIZ] = DUMMY;
|
||||
NEARDATA int current_fruit = 0;
|
||||
NEARDATA struct fruit *ffruit = (struct fruit *)0;
|
||||
|
||||
NEARDATA char tune[6] = DUMMY;
|
||||
|
||||
Reference in New Issue
Block a user