mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Move Direct Mode drawer close to editorrenderfixed
Now the drawer closing animation won't be based on deltatime.
This commit is contained in:
@@ -2959,7 +2959,6 @@ void editorrender(void)
|
||||
int t2=0;
|
||||
if(ed.dmtileeditor>0)
|
||||
{
|
||||
ed.dmtileeditor--;
|
||||
if(ed.dmtileeditor<=4)
|
||||
{
|
||||
t2=(4-ed.dmtileeditor)*12;
|
||||
@@ -3607,6 +3606,14 @@ void editorrenderfixed(void)
|
||||
edentity[i].p3 = (ty2 - ty) * 8;
|
||||
}
|
||||
}
|
||||
|
||||
if (ed.level[ed.levx + ed.maxwidth*ed.levy].directmode == 1)
|
||||
{
|
||||
if (ed.dmtileeditor > 0)
|
||||
{
|
||||
ed.dmtileeditor--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void editorlogic(void)
|
||||
|
||||
Reference in New Issue
Block a user