diff scn2k/scn2k_impl.cc @ 12:2e6a92ed913b

Fixes savegames names
author thib
date Wed, 06 Aug 2008 12:26:57 +0000
parents 55b577e5f5b5
children 38226842bac8
line wrap: on
line diff
--- a/scn2k/scn2k_impl.cc
+++ b/scn2k/scn2k_impl.cc
@@ -774,7 +774,7 @@ fprintf(stderr,"StatSave %d:",cmd.args[0
 				flag.Set(cmd.args[7], s);
 				flag.Set(cmd.args[8], ms);
 				if (cmd.args[9].type == TYPE_VARSTR) {
-					flag.SetStr(cmd.args[9].number, kconv_rev(title));
+					flag.SetStr(cmd.args[9], kconv_rev(title));
 				}
 				flag.SetSys(1);
 			} else {