changeset 46:af6b05e86747

rogue5: Clear encerror so scoreboard writing works.
author elwin
date Fri, 07 Oct 2011 06:15:48 +0000
parents 5926ec314fd4
children 2a59cf36ae38
files rogue5/save.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rogue5/save.c	Tue Dec 14 17:15:51 2010 +0000
+++ b/rogue5/save.c	Fri Oct 07 06:15:48 2011 +0000
@@ -421,6 +421,7 @@
 
     rewind(scoreboard);
 
+    encerrno = 0;
     for(i = 0; i < numscores; i++)
     {
           memset(scoreline,0,100);