aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-04 02:10:55 +0200
committerWillem Jan Palenstijn2015-12-23 21:33:49 +0100
commit021cb4c526b8dbe8b33b3ae03703be36893410da (patch)
tree9806876127474fb1a30314014002175099ed8017
parentc6041a41a3172c23f8c4170fc83a1949e9c832a1 (diff)
downloadscummvm-rg350-021cb4c526b8dbe8b33b3ae03703be36893410da.tar.gz
scummvm-rg350-021cb4c526b8dbe8b33b3ae03703be36893410da.tar.bz2
scummvm-rg350-021cb4c526b8dbe8b33b3ae03703be36893410da.zip
LAB: Rename roomCords to roomCoords
-rw-r--r--engines/lab/map.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp
index 9b7f3f3e40..9ca57b0001 100644
--- a/engines/lab/map.cpp
+++ b/engines/lab/map.cpp
@@ -237,7 +237,7 @@ void fade(bool fadein, uint16 res) {
/*****************************************************************************/
/* Figures out what a room's coordinates should be. */
/*****************************************************************************/
-static void roomCords(uint16 CurRoom, uint16 *x1, uint16 *y1, uint16 *x2, uint16 *y2) {
+static void roomCoords(uint16 CurRoom, uint16 *x1, uint16 *y1, uint16 *x2, uint16 *y2) {
Image *curRoomImg = NULL;
switch (Maps[CurRoom].SpecialID) {
@@ -699,7 +699,7 @@ void LabEngine::processMap(uint16 CurRoom) {
OldMsg = CurMsg;
for (uint16 i = 1; i <= MaxRooms; i++) {
- roomCords(i, &x1, &y1, &x2, &y2);
+ roomCoords(i, &x1, &y1, &x2, &y2);
if ((Maps[i].PageNumber == CurFloor)
&& _roomsFound->in(i)
@@ -722,7 +722,7 @@ void LabEngine::processMap(uint16 CurRoom) {
if (Maps[OldMsg].PageNumber == CurFloor)
drawRoom(OldMsg, (bool)(OldMsg == CurRoom));
- roomCords(CurMsg, &x1, &y1, &x2, &y2);
+ roomCoords(CurMsg, &x1, &y1, &x2, &y2);
x1 = (x1 + x2) / 2;
y1 = (y1 + y2) / 2;