1 Ripped from Debian patchset 6
3 --- src/include/game/game_data.h
4 +++ src/include/game/game_data.h
10 + unsigned int lasttime;
11 segment2 left, right, front, backleft;
14 --- src/include/video/fonttex.h
15 +++ src/include/video/fonttex.h
17 int lower; /* lowest ascii character (normally: 32) */
18 int upper; /* highest ascii character (normally: 126) */
21 + unsigned int *texID;
28 n[1] = s->vStart.v[1] - s->vDirection.v[0];
29 tmp[0] = eye[0] - s->vStart.v[0];
30 tmp[1] = eye[1] - s->vStart.v[1];
31 - if(n[0] == n[1] == 0) return length(tmp);
32 + if(n[0] == 0 && n[1] == 0) return length(tmp);
33 return abs(scalarprod2(n, tmp) / length(n));