From f5d55eb7927af70bca515f4abd438b80f5b134df Mon Sep 17 00:00:00 2001 From: ludwig Date: Sat, 3 Sep 2005 12:01:51 +0000 Subject: 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 --- code/qcommon/vm_interpreted.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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-- ) { -- cgit v1.2.3