| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 
 | Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097381
--- meritous-1.5.orig/src/levelblit.c
+++ meritous-1.5/src/levelblit.c
@@ -2575,7 +2575,7 @@ void SpecialTile(int x, int y)
 			break;
 		case 42:
 			if (rooms[player_room].room_type == 5) {
-				if (CanGetArtifact(rooms[player_room].room_param)) {
+				if (CanGetArtifact()) {
 					
 				} else {
 					sprintf(message, _("The artifact is tainted with shadow. You must slay more of the shadow first.") );
--- meritous-1.5.orig/src/save.h
+++ meritous-1.5/src/save.h
@@ -24,7 +24,7 @@
 #ifndef SAVE_H
 #define SAVE_H
 
-void DoSaveGame();
+void DoSaveGame(char *filename);
 
 void FWInt(int val);
 void FWChar(unsigned char i);
@@ -39,6 +39,6 @@ void SaveGame(char *);
 void LoadGame(char *);
 void CloseFile();
 
-int IsSaveFile();
+int IsSaveFile(char *filename);
 
 #endif
 |