mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
Stops 16bit rendering from crashing underwater.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@79 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ccd3153d9a
commit
912fe34e6a
1 changed files with 1 additions and 1 deletions
|
@ -549,7 +549,7 @@ r_refdef.viewangles[2]= 0;
|
|||
#else
|
||||
r_dowarp = r_waterwarp.value && (r_viewleaf->contents <= Q1CONTENTS_WATER);
|
||||
#endif
|
||||
if (vid.width > MAXWIDTH || r_pixbytes == 4 || scr_chatmode)
|
||||
if (vid.width > MAXWIDTH || r_pixbytes != 1 || scr_chatmode)
|
||||
r_dowarp = 0;
|
||||
if (r_dosirds)
|
||||
r_dowarp = 0;
|
||||
|
|
Loading…
Reference in a new issue