aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-05 20:10:54 +0000
committerPaweł Kołodziejski2003-04-05 20:10:54 +0000
commit8e1744d1ab4024ce40e5b3adb27ed765de1f7540 (patch)
tree24e9646a0adc9918180055f842524960fe95da61
parentd667453e0f65a6dae2e0e455149e619f65f533d7 (diff)
downloadscummvm-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.dsp4
-rw-r--r--sky/text.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/sky.dsp b/sky.dsp
index bd9b797e93..63e5fb592e 100644
--- a/sky.dsp
+++ b/sky.dsp
@@ -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];