ref: ea12f7d7e47cb958ab7756ec9aaa2d6d10a19735
parent: edda0bba7f50e97122a53f5ab7aa94246d3a120e
author: mkf <mkf@cloud9p.org>
date: Sun May 19 13:52:49 EDT 2024
srv4: update loadgame() err msg
--- a/srv4.c
+++ b/srv4.c
@@ -356,7 +356,7 @@
loadgame(int n)
{
if(n > sizeof(games) / sizeof(Game))
- sysfatal("loadgame(): invalid game");
+ sysfatal("loadgame(%d): invalid game", n);
id = games[n].id;
difficulty = games[n].difficulty;