mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Classic: fix rotatesprite with no screen scaling and non-widescreen aspects.
Also, enable showing sprites in Mapster32's overhead view again, since that was one (the only?) use of that code path. The uninitialized read was introduced in r2927. git-svn-id: https://svn.eduke32.com/eduke32@3144 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
547b28b63e
commit
c71b3d529c
2 changed files with 8 additions and 3 deletions
|
@ -6886,9 +6886,14 @@ void dorotspr_handle_bit2(int32_t *sxptr, int32_t *syptr, int32_t *z, int32_t da
|
|||
{
|
||||
*ret_yxaspect = (12<<16)/10;
|
||||
*ret_xyaspect = (10<<16)/12;
|
||||
|
||||
// *sxptr and *syptr and *z are left unchanged
|
||||
}
|
||||
else
|
||||
{
|
||||
*ret_yxaspect = yxaspect;
|
||||
*ret_xyaspect = xyaspect;
|
||||
}
|
||||
|
||||
// *sxptr and *syptr and *z are left unchanged
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -10848,7 +10848,7 @@ void ExtPreCheckKeys(void) // just before drawrooms
|
|||
// if (cursectornum >= 0)
|
||||
// fillsector(cursectornum, 31);
|
||||
|
||||
if (0 && graphicsmode && !m32_sideview && zoom >= 256)
|
||||
if (graphicsmode && !m32_sideview && zoom >= 256)
|
||||
{
|
||||
for (i=ii=0; i<MAXSPRITES && ii < Numsprites; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue