diff srogue/save.c @ 192:3de8058dd549

srogue: provide type definitions if needed. If not defined in headers, uid_t and gid_t will be defined as unsigned ints, and pid_t as int.
author John "Elwin" Edwards
date Mon, 03 Aug 2015 21:29:16 -0400
parents 135ec7f15ffe
children 94a0d9dd5ce1
line wrap: on
line diff
--- a/srogue/save.c	Mon Aug 03 17:16:42 2015 -0400
+++ b/srogue/save.c	Mon Aug 03 21:29:16 2015 -0400
@@ -296,6 +296,6 @@
 	strcpy(file_name, file);
 	setup();
 	restscr(cw);
-	md_srandom(getpid());
+	md_srandom(md_getpid());
 	playit();
 }