diff options
Diffstat (limited to 'sky/text.cpp')
-rw-r--r-- | sky/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/text.cpp b/sky/text.cpp index dcc9165755..0e177a87e6 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -307,12 +307,12 @@ void Text::fnTextModule(uint32 textInfoId, uint32 textNo) { void Text::getText(uint32 textNr) { //load text #"textNr" into textBuffer if (patchMessage(textNr)) - return ; + return; uint32 sectionNo = (textNr & 0x0F000) >> 12; if (SkyEngine::_itemList[FIRST_TEXT_SEC + sectionNo] == (void **)NULL) { //check if already loaded - debug(5, "Loading Text item(s) for Section %d", (sectionNo>>2)); + debug(5, "Loading Text item(s) for Section %d", (sectionNo >> 2)); uint32 fileNo = sectionNo + ((SkyEngine::_systemVars.language * NO_OF_TEXT_SECTIONS) + 60600); SkyEngine::_itemList[FIRST_TEXT_SEC + sectionNo] = (void **)_skyDisk->loadFile((uint16)fileNo); |