mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-17 04:50:49 +00:00
- always align the "loogies" to a virtual 320x200 screen to render them consistently.
This commit is contained in:
parent
fb184388a2
commit
bd3b2bc5bf
2 changed files with 4 additions and 4 deletions
|
@ -1865,8 +1865,8 @@ void moveweapons_d(void)
|
||||||
ps[p].loogcnt = 24*4;
|
ps[p].loogcnt = 24*4;
|
||||||
for(x=0;x < j;x++)
|
for(x=0;x < j;x++)
|
||||||
{
|
{
|
||||||
ps[p].loogiex[x] = krand()%xdim;
|
ps[p].loogiex[x] = krand()%320;
|
||||||
ps[p].loogiey[x] = krand()%ydim;
|
ps[p].loogiey[x] = krand()%200;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1411,8 +1411,8 @@ void moveweapons_r(void)
|
||||||
ps[p].loogcnt = 24 * 4;
|
ps[p].loogcnt = 24 * 4;
|
||||||
for (x = 0; x < j; x++)
|
for (x = 0; x < j; x++)
|
||||||
{
|
{
|
||||||
ps[p].loogiex[x] = krand() % xdim;
|
ps[p].loogiex[x] = krand() % 320;
|
||||||
ps[p].loogiey[x] = krand() % ydim;
|
ps[p].loogiey[x] = krand() % 200;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue