updated and fixed for VC6

svn-id: r6916
This commit is contained in:
Paweł Kołodziejski 2003-04-05 20:10:54 +00:00
parent d667453e0f
commit 8e1744d1ab
2 changed files with 5 additions and 1 deletions

View File

@ -187,6 +187,10 @@ SOURCE=.\sky\struc.h
# End Source File
# Begin Source File
SOURCE=.\sky\text.cpp
# End Source File
# Begin Source File
SOURCE=.\sky\timer.cpp
# End Source File
# End Group

View File

@ -97,7 +97,7 @@ void SkyState::getText(uint32 textNr) { //load text #"textNr" to _textBuffer
uint32 fileNo = (sectionNo >> 2);
fileNo += ((_language * NO_OF_TEXT_SECTIONS) + 60600);
_itemList[FIRST_TEXT_SEC + sectionNo] = (void *)loadFile(fileNo, NULL);
_itemList[FIRST_TEXT_SEC + sectionNo] = (void *)loadFile((uint16)fileNo, NULL);
}
uint8 *textItemPtr = (uint8 *)_itemList[FIRST_TEXT_SEC + sectionNo];