mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-25 14:54:19 +03:00
Reset Direct Mode in editorclass::reset()
There's a long-standing issue where the Direct Mode status of the loaded custom map in memory never resets properly. So if you load a level with a certain layout of Direct Mode rooms, that same layout will be preserved if you start making a new level in the editor. This commit fixes that issue.
This commit is contained in:
1 parent
916f182ce6
commit
2c2acc93e6
1 file changed
+1
@@ -314,6 +314,7 @@ void editorclass::reset()
|
|||||||
level[i+(j*maxwidth)].enemyy1=0;
|
level[i+(j*maxwidth)].enemyy1=0;
|
||||||
level[i+(j*maxwidth)].enemyx2=320;
|
level[i+(j*maxwidth)].enemyx2=320;
|
||||||
level[i+(j*maxwidth)].enemyy2=240;
|
level[i+(j*maxwidth)].enemyy2=240;
|
||||||
|
level[i+(j*maxwidth)].directmode=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user