diff options
author | Paweł Kołodziejski | 2003-04-05 20:10:54 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-04-05 20:10:54 +0000 |
commit | 8e1744d1ab4024ce40e5b3adb27ed765de1f7540 (patch) | |
tree | 24e9646a0adc9918180055f842524960fe95da61 | |
parent | d667453e0f65a6dae2e0e455149e619f65f533d7 (diff) | |
download | scummvm-rg350-8e1744d1ab4024ce40e5b3adb27ed765de1f7540.tar.gz scummvm-rg350-8e1744d1ab4024ce40e5b3adb27ed765de1f7540.tar.bz2 scummvm-rg350-8e1744d1ab4024ce40e5b3adb27ed765de1f7540.zip |
updated and fixed for VC6
svn-id: r6916
-rw-r--r-- | sky.dsp | 4 | ||||
-rw-r--r-- | sky/text.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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
diff --git a/sky/text.cpp b/sky/text.cpp index 30440a8ae0..7423462e6e 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -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]; |