Interpolate Direct Mode drawer closing

This is pretty simple to interpolate, since ed.dmtileeditor is
guaranteed to have only changed by 1, and then it's just multiplied by
4.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-03-09 22:05:56 -05:00
1 parent b202e02578
commit 988a7720b9
1 file changed
+1 -1
+1 -1
View File
@@ -2961,7 +2961,7 @@ void editorrender(void)
{
if(ed.dmtileeditor<=4)
{
t2=(4-ed.dmtileeditor)*12;
t2=graphics.lerp((4-ed.dmtileeditor+1)*12, (4-ed.dmtileeditor)*12);
}
//Draw five lines of the editor