summaryrefslogtreecommitdiff
path: root/games/crossfire-server/files/patch-ak
blob: d4c33252461107bb5a64edecd1d7eae3e475824d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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){