diff options
author | Vincent Hamm | 2007-11-04 01:11:39 +0000 |
---|---|---|
committer | Vincent Hamm | 2007-11-04 01:11:39 +0000 |
commit | 6e4037165d49ed4ba1a6e76656eab2d03851eeda (patch) | |
tree | a8f38190adf5b2867d2a4ded717039cd928dfe67 /engines/cruise/mainDraw.cpp | |
parent | 034eb920d2e3c869ed16a011886ec1e69d50001c (diff) | |
download | scummvm-rg350-6e4037165d49ed4ba1a6e76656eab2d03851eeda.tar.gz scummvm-rg350-6e4037165d49ed4ba1a6e76656eab2d03851eeda.tar.bz2 scummvm-rg350-6e4037165d49ed4ba1a6e76656eab2d03851eeda.zip |
Fix a few script issues
svn-id: r29397
Diffstat (limited to 'engines/cruise/mainDraw.cpp')
-rw-r--r-- | engines/cruise/mainDraw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/mainDraw.cpp b/engines/cruise/mainDraw.cpp index 0b6d1de50c..2cd577547e 100644 --- a/engines/cruise/mainDraw.cpp +++ b/engines/cruise/mainDraw.cpp @@ -169,7 +169,7 @@ int16 XMIN_XMAX[404]; int16 polyBuffer4[512]; // this function fills the sizeTable for the poly (OLD: mainDrawSub1Sub2) -void getPolySize(int positionX, int positionY, int scale, int sizeTable[4], char *dataPtr) +void getPolySize(int positionX, int positionY, int scale, int sizeTable[4], unsigned char *dataPtr) { int upperBorder; int lowerBorder; @@ -1036,7 +1036,7 @@ void mainDrawPolygons(int fileIndex, cellStruct *pObject, int X, int scale, int flipPoly(fileIndex, (int16*)dataPtr, scale, &newFrame, X, Y, &newX, &newY, &newScale); // this function fills the sizeTable for the poly (OLD: mainDrawSub1Sub2) - getPolySize(newX, newY, newScale, sizeTable, (char*)newFrame); + getPolySize(newX, newY, newScale, sizeTable, (unsigned char*)newFrame); spriteX2 = sizeTable[0] - 2; // left border spriteX1 = sizeTable[1] + 18; // right border |