aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-03 12:01:51 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-03 12:01:51 +0000
commitf5d55eb7927af70bca515f4abd438b80f5b134df (patch)
tree0d58762afd06f49348f0c4a2b05d63a58caa346d
parent9a4b5cfc85b42eeed9e18431a7d2aef9d4ccd944 (diff)
downloadioquake3-aero-f5d55eb7927af70bca515f4abd438b80f5b134df.tar.gz
ioquake3-aero-f5d55eb7927af70bca515f4abd438b80f5b134df.zip
don't make unaligned used of OP_BLOCK_COPY an error. The bytecode
compiler doesn't care either. git-svn-id: svn://svn.icculus.org/quake3/trunk@72 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/vm_interpreted.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/qcommon/vm_interpreted.c b/code/qcommon/vm_interpreted.c
index 1989a5d..fb28011 100644
--- a/code/qcommon/vm_interpreted.c
+++ b/code/qcommon/vm_interpreted.c
@@ -480,7 +480,8 @@ nextInstruction2:
src = (int *)&image[ r0&dataMask ];
dest = (int *)&image[ r1&dataMask ];
if ( ( (long)src | (long)dest | count ) & 3 ) {
- Com_Error( ERR_DROP, "OP_BLOCK_COPY not dword aligned" );
+ // happens in westernq3
+ Com_Printf( S_COLOR_YELLOW "Warning: OP_BLOCK_COPY not dword aligned\n");
}
count >>= 2;
for ( i = count-1 ; i>= 0 ; i-- ) {