diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-10-24 07:02:35 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-10-24 07:02:35 +0000 |
commit | c8663f9f4202091af22a3fd3635db3fa48bb8243 (patch) | |
tree | 8c7bfb9d3a05ec3fab2899dda1305174d41e10c8 | |
parent | 660be5cc7d3989740b4e6fbd8ed8b1d9c46ebd20 (diff) | |
download | ioquake3-aero-c8663f9f4202091af22a3fd3635db3fa48bb8243.tar.gz ioquake3-aero-c8663f9f4202091af22a3fd3635db3fa48bb8243.zip |
fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskra
git-svn-id: svn://svn.icculus.org/quake3/trunk@1473 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/client/cl_cin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_cin.c b/code/client/cl_cin.c index a1bd853..2e5a9b7 100644 --- a/code/client/cl_cin.c +++ b/code/client/cl_cin.c @@ -1193,8 +1193,8 @@ redump: cinTable[currentHandle].roq_id = framedata[0] + framedata[1]*256; cinTable[currentHandle].RoQFrameSize = framedata[2] + framedata[3]*256 + framedata[4]*65536; cinTable[currentHandle].roq_flags = framedata[6] + framedata[7]*256; - cinTable[currentHandle].roqF0 = (char)framedata[7]; - cinTable[currentHandle].roqF1 = (char)framedata[6]; + cinTable[currentHandle].roqF0 = (signed char)framedata[7]; + cinTable[currentHandle].roqF1 = (signed char)framedata[6]; if (cinTable[currentHandle].RoQFrameSize>65536||cinTable[currentHandle].roq_id==0x1084) { Com_DPrintf("roq_size>65536||roq_id==0x1084\n"); |