mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-07 22:58:11 +00:00
680b820157
- Fix the password problem so passwords are actually checked. - Change some default options like SAVE_HOMEDIR, XPM_PIX (you hade the port requiring xpm but CF wasn't configured to link it in), ForceCCOPTIONS, EXPLORE_MODE, etc. - Remove the empty ${CFDIR}/lib/shutdown from the Makefile and the PLIST. This file just causes the program to exit without saying why until the user manually removes the file. - Fix "crossfire -o" to call uname correctly. - Set logfile to be line buffered (instead of block buffered) since they hardly ever call fflush(3). Submitted by: Dave Chapeskie <dchapes@golden.net>
12 lines
352 B
Plaintext
12 lines
352 B
Plaintext
--- server/skills.c.orig Tue Sep 16 03:44:12 1997
|
|
+++ server/skills.c Tue Sep 16 03:44:27 1997
|
|
@@ -1007,7 +1007,7 @@
|
|
int write_scroll (object *pl, object *scroll) {
|
|
|
|
int success=0,confused=0,chosen_spell=-1,stat1=get_skill_stat1(pl);
|
|
- object *newScroll;
|
|
+ object *newScroll = NULL;
|
|
|
|
/* this is a sanity check */
|
|
if (scroll->type!=SCROLL){
|