Fix all "no-write-strings" warnings
This commit is contained in:
parent
d22d223ba9
commit
ec329e645c
62 changed files with 187 additions and 185 deletions
|
|
@ -60,7 +60,7 @@ BYTE SkelChamTrans3[] = {
|
|||
};
|
||||
|
||||
/** Maps from quest level to quest level names. */
|
||||
char *quest_level_names[] = {
|
||||
const char *const quest_level_names[] = {
|
||||
"",
|
||||
"Skeleton King's Lair",
|
||||
"Bone Chamber",
|
||||
|
|
@ -107,7 +107,7 @@ void AddVileObjs()
|
|||
SetObjMapRange(ObjIndex(35, 36), 7, 11, 13, 18, 3);
|
||||
}
|
||||
|
||||
void DRLG_SetMapTrans(char *sFileName)
|
||||
void DRLG_SetMapTrans(const char *sFileName)
|
||||
{
|
||||
int x, y;
|
||||
int i, j;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue