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:
helixhorned 2012-11-10 14:11:13 +00:00
parent 547b28b63e
commit c71b3d529c
2 changed files with 8 additions and 3 deletions

View file

@ -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;
}
else
{
*ret_yxaspect = yxaspect;
*ret_xyaspect = xyaspect;
}
// *sxptr and *syptr and *z are left unchanged
}
return;
}

View file

@ -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++)
{