mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
display: Fix display type 340 bug.
In the vector function, the flags variable wasn't initialized. The function can sometimes return boolean true even if it shouldn't.
This commit is contained in:
parent
a3c40cd290
commit
d7f1942998
@ -453,7 +453,7 @@ vector(int i, int sy, int dy, int sx, int dx)
|
||||
{
|
||||
struct type340 *u = UNIT(0);
|
||||
int x0, y0, x1, y1;
|
||||
int flags;
|
||||
int flags = 0;
|
||||
|
||||
DEBUGF(("v i%d y%c%d x%c%d\r\n", i,
|
||||
(sy ? '-' : '+'), dy,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user