mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +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__
|
||||
#define snprintf _snprintf
|
||||
#define vsnprintf _vsnprintf
|
||||
#define kbhit _kbhit
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ char *Sys_ConsoleInput (void)
|
|||
int c;
|
||||
|
||||
// read a line out
|
||||
while (_kbhit())
|
||||
while (kbhit())
|
||||
{
|
||||
c = _getch();
|
||||
putch (c);
|
||||
|
|
|
@ -750,7 +750,7 @@ void SV_ClipToLinks ( areanode_t *node, moveclip_t *clip )
|
|||
|| clip->boxmaxs[2] < touch->v.absmin[2] )
|
||||
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
|
||||
|
||||
// might intersect, so do an exact clip
|
||||
|
|
Loading…
Reference in a new issue