mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Mapster32: fix 3d picture-in-picture when editing a map with TROR.
git-svn-id: https://svn.eduke32.com/eduke32@5286 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c79691bb6f
commit
9d1503ac12
2 changed files with 3 additions and 3 deletions
|
@ -3318,10 +3318,10 @@ void overheadeditor(void)
|
|||
zoom = max(zoom, ztarget);
|
||||
}
|
||||
|
||||
if (!((vel|angvel|svel) //DOWN_BK(MOVEFORWARD) || DOWN_BK(MOVEBACKWARD) || DOWN_BK(TURNLEFT) || DOWN_BK(TURNRIGHT)
|
||||
if (!((vel|angvel|svel) || ztarget != zoom//DOWN_BK(MOVEFORWARD) || DOWN_BK(MOVEBACKWARD) || DOWN_BK(TURNLEFT) || DOWN_BK(TURNRIGHT)
|
||||
|| DOWN_BK(MOVEUP) || DOWN_BK(MOVEDOWN) || keystatus[0x10] || keystatus[0x11]
|
||||
|| keystatus[0x48] || keystatus[0x4b] || keystatus[0x4d] || keystatus[0x50] // keypad keys
|
||||
|| bstatus || OSD_IsMoving() || ztarget != zoom))
|
||||
|| bstatus || OSD_IsMoving()))
|
||||
{
|
||||
if (totalclock > waitdelay)
|
||||
{
|
||||
|
|
|
@ -1117,7 +1117,7 @@ void yax_drawrooms(void (*SpriteAnimFunc)(int32_t,int32_t,int32_t,int32_t),
|
|||
g_nodraw = 0;
|
||||
scansector_collectsprites = 0;
|
||||
|
||||
if (editstatus==1)
|
||||
if (editstatus==1 && in3dmode())
|
||||
{
|
||||
if (getrendermode() == REND_CLASSIC)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue