mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-04 02:51:27 +00:00
Borland fixes
This commit is contained in:
parent
b82af01381
commit
01ab5f4fbe
3 changed files with 3 additions and 2 deletions
|
@ -66,6 +66,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#ifndef __BORLANDC__
|
#ifndef __BORLANDC__
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define vsnprintf _vsnprintf
|
#define vsnprintf _vsnprintf
|
||||||
|
#define kbhit _kbhit
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ char *Sys_ConsoleInput (void)
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
// read a line out
|
// read a line out
|
||||||
while (_kbhit())
|
while (kbhit())
|
||||||
{
|
{
|
||||||
c = _getch();
|
c = _getch();
|
||||||
putch (c);
|
putch (c);
|
||||||
|
|
|
@ -750,7 +750,7 @@ void SV_ClipToLinks ( areanode_t *node, moveclip_t *clip )
|
||||||
|| clip->boxmaxs[2] < touch->v.absmin[2] )
|
|| clip->boxmaxs[2] < touch->v.absmin[2] )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (clip->passedict && clip->passedict->v.size[0] && !touch->v.size[0])
|
if (clip->passedict!=0 && clip->passedict->v.size[0] && !touch->v.size[0])
|
||||||
continue; // points never interact
|
continue; // points never interact
|
||||||
|
|
||||||
// might intersect, so do an exact clip
|
// might intersect, so do an exact clip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue