diff options
author | Willem Jan Palenstijn | 2015-12-26 15:14:37 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-26 15:14:37 +0100 |
commit | 33ed5af212d5cfb878559d1736fab91a4762f46b (patch) | |
tree | f677697665df344cf4d21f3ef9f236254421e9aa /engines/lab/special.cpp | |
parent | a8d7a9bb7c20a303ac827773dcc6165e363f3688 (diff) | |
download | scummvm-rg350-33ed5af212d5cfb878559d1736fab91a4762f46b.tar.gz scummvm-rg350-33ed5af212d5cfb878559d1736fab91a4762f46b.tar.bz2 scummvm-rg350-33ed5af212d5cfb878559d1736fab91a4762f46b.zip |
LAB: Remove type ConstDataPtr, add consts
Diffstat (limited to 'engines/lab/special.cpp')
-rw-r--r-- | engines/lab/special.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index e15561d9fb..e99c4dffa3 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -339,7 +339,7 @@ void LabEngine::drawMonText(const char *text, TextFont *monitorFont, Common::Rec void LabEngine::processMonitor(const char *ntext, TextFont *monitorFont, bool isInteractive, Common::Rect textRect) { Common::String startFileName = _monitorTextFilename; - CloseDataPtr startClosePtr = _closeDataPtr, lastClosePtr[10]; + const CloseData *startClosePtr = _closeDataPtr, *lastClosePtr[10]; uint16 depth = 0; lastClosePtr[0] = _closeDataPtr; @@ -414,7 +414,7 @@ void LabEngine::processMonitor(const char *ntext, TextFont *monitorFont, bool is drawMonText(ntext, monitorFont, textRect, isInteractive); } } else if (isInteractive) { - CloseDataPtr tmpClosePtr = _closeDataPtr; + const CloseData *tmpClosePtr = _closeDataPtr; mouseY = 64 + (mouseY / _monitorButtonHeight) * 42; mouseX = 101; setCurrentClose(Common::Point(mouseX, mouseY), &_closeDataPtr, false); |