diff options
author | Filippos Karapetis | 2015-02-17 11:19:32 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-15 00:05:02 +0100 |
commit | 28bbcf5641d8d505b07bcc121c8b129f9fb1de43 (patch) | |
tree | b08ddced563ddb7c01264444a9e9dc07914a0c1c | |
parent | f9d90934f6e281f40b52ad561d339f26d7d9c0e9 (diff) | |
download | scummvm-rg350-28bbcf5641d8d505b07bcc121c8b129f9fb1de43.tar.gz scummvm-rg350-28bbcf5641d8d505b07bcc121c8b129f9fb1de43.tar.bz2 scummvm-rg350-28bbcf5641d8d505b07bcc121c8b129f9fb1de43.zip |
LAB: Add missing const qualifiers
-rw-r--r-- | engines/lab/engine.cpp | 4 | ||||
-rw-r--r-- | engines/lab/map.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index 01fd7b9ef0..06ac2194f5 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -71,8 +71,8 @@ void mayShowCrumbIndicatorOff(); bool Alternate = false, ispal = false, noupdatediff = false, MainDisplay = true, QuitLab = false, DoNotReset = false; -extern char *NewFileName; /* When ProcessRoom.c decides to change the filename - of the current picture. */ +extern const char *NewFileName; /* When ProcessRoom.c decides to change the filename + of the current picture. */ extern char *LAMPONMSG, *TURNLEFT, *TURNRIGHT; extern char *GOFORWARDDIR, *NOPATH, *TAKEITEM, *USEONWHAT, *TAKEWHAT, *MOVEWHAT, *OPENWHAT, *CLOSEWHAT, *LOOKWHAT, *NOTHING, *USEMAP, *USEJOURNAL, *TURNLAMPON, *TURNLAMPOFF, *USEWHISKEY, *USEPITH, *USEHELMET; diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp index 95c12bd5d7..77d520de16 100644 --- a/engines/lab/map.cpp +++ b/engines/lab/map.cpp @@ -153,7 +153,7 @@ void readImage(byte **buffer, Image **im) { extern RoomData *Rooms; -extern char *ViewPath; +extern const char *ViewPath; static Image *Map, *Room, *UpArrowRoom, *DownArrowRoom, *Bridge, *HRoom, *VRoom, *Maze, *HugeMaze, *Path, *MapNorth, |