mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 08:50:55 +00:00
"@Dick can you make it so that its impossible to pan the floor texture in 2d mode if the texture isnt visible?"
git-svn-id: https://svn.eduke32.com/eduke32@6988 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dd1058c767
commit
a8cee68a7e
1 changed files with 38 additions and 35 deletions
|
@ -7562,6 +7562,8 @@ static void Keys2d(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (graphicsmode)
|
||||
{
|
||||
for (k=0; k<2; k++) // panning/repeat
|
||||
{
|
||||
if (k==0)
|
||||
|
@ -7603,13 +7605,14 @@ static void Keys2d(void)
|
|||
}
|
||||
|
||||
asksave = 1;
|
||||
repeatcnt[k] = max(1,repeatcnt[k]-2);
|
||||
repeatcnt[k] = max(1, repeatcnt[k]-2);
|
||||
}
|
||||
repeatcnt[k] += synctics;
|
||||
}
|
||||
else
|
||||
repeatcnt[k] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (PRESSED_KEYSC(R)) // R (relative alignment, rotation)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue