home · contact · privacy
Corrected includes in main.c
[plomrogue] / src / rexit.c
index 31cf3ee724c47b5d0b2184484cae0c180de831a5..71ec130bb74fd034f4bee458c396b9e3c04339a6 100644 (file)
@@ -72,7 +72,8 @@ extern void exit_err(uint8_t err, struct World * world, char * msg)
     {
         msg = "Details unknown.";
     }
-    printf("Aborted PlomRogue due to error. %s\n", msg);
+    printf("Aborted PlomRogue due to error. %s\nInternal error code: %d\n",
+           msg, err);
     if (0 != errno)
     {
         perror("errno states");