mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
I thought TimeServ had fixed this... Ah well, here timeserv, have a conflict!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@406 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bd038aa1d8
commit
ed24206d93
1 changed files with 2 additions and 2 deletions
|
@ -509,8 +509,8 @@ int Plug_Draw_Fill(void *offset, unsigned int mask, const long *arg)
|
||||||
//hrm.... FIXME!
|
//hrm.... FIXME!
|
||||||
int Plug_Draw_ColourP(void *offset, unsigned int mask, const long *arg)
|
int Plug_Draw_ColourP(void *offset, unsigned int mask, const long *arg)
|
||||||
{
|
{
|
||||||
extern unsigned char vid_curpal[256*3];
|
extern unsigned char host_basepal[256*3];
|
||||||
qbyte *pal = vid_curpal + VM_LONG(arg[0])*3;
|
qbyte *pal = host_basepal + VM_LONG(arg[0])*3;
|
||||||
|
|
||||||
if (arg[0]<0 || arg[0]>255)
|
if (arg[0]<0 || arg[0]>255)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue