Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 119208 | Differences between
and this patch

Collapse All | Expand All

(-)wolfgl-0.93.orig/common/id_ca.c (-5 / +8 lines)
Lines 268-280 Link Here
268
			if (!count)
268
			if (!count)
269
			{
269
			{
270
				// have to insert a word containing the tag byte
270
				// have to insert a word containing the tag byte
271
				ch |= *((unsigned char*)inptr)++;
271
				ch | *((unsigned char*)inptr);
272
				inptr += sizeof (unsigned char);
272
				*outptr++ = ch;
273
				*outptr++ = ch;
273
				length--;
274
				length--;
274
			}
275
			}
275
			else
276
			else
276
			{
277
			{
277
				offset = *((unsigned char*)inptr)++;
278
				offset = *((unsigned char*)inptr);
279
				inptr += sizeof (unsigned char);
278
				copyptr = outptr - offset;
280
				copyptr = outptr - offset;
279
				length -= count;
281
				length -= count;
280
				while (count--)
282
				while (count--)
Lines 287-293 Link Here
287
			if (!count)
289
			if (!count)
288
			{
290
			{
289
				// have to insert a word containing the tag byte
291
				// have to insert a word containing the tag byte
290
				ch |= *((unsigned char*)inptr)++;
292
				ch | *((unsigned char*)inptr);
293
				inptr += sizeof (unsigned char);
291
				*outptr++ = ch;
294
				*outptr++ = ch;
292
				length --;
295
				length --;
293
			}
296
			}
Lines 806-812 Link Here
806
809
807
	for (i=0;i<NUMCHUNKS;i++)
810
	for (i=0;i<NUMCHUNKS;i++)
808
		if (grsegs[i])
811
		if (grsegs[i])
809
			MM_SetPurge (&(memptr)grsegs[i],3);
812
			MM_SetPurge ((memptr)&grsegs[i],3);
810
	ca_levelbit<<=1;
813
	ca_levelbit<<=1;
811
	ca_levelnum++;
814
	ca_levelnum++;
812
}
815
}
Lines 862-868 Link Here
862
865
863
	for (i = 0; i < NUMCHUNKS; i++)
866
	for (i = 0; i < NUMCHUNKS; i++)
864
		if (grsegs[i])
867
		if (grsegs[i])
865
			MM_SetPurge (&(memptr)grsegs[i],3);
868
			MM_SetPurge ((memptr)&grsegs[i],3);
866
}
869
}
867
870
868
//===========================================================================
871
//===========================================================================
(-)wolfgl-0.93.orig/common/wl_game.c (-2 / +2 lines)
Lines 545-557 Link Here
545
			{
545
			{
546
				// solid wall
546
				// solid wall
547
				tilemap[x][y] = tile;
547
				tilemap[x][y] = tile;
548
				(unsigned short)actorat[x][y] = tile;
548
				actorat[x][y] = tile;
549
			}
549
			}
550
			else
550
			else
551
			{
551
			{
552
				// area floor
552
				// area floor
553
				tilemap[x][y] = 0;
553
				tilemap[x][y] = 0;
554
				(unsigned short)actorat[x][y] = 0;
554
				actorat[x][y] = 0;
555
			}
555
			}
556
		}
556
		}
557
557

Return to bug 119208