TWINE: draw holomap trajectory on scene change

This commit is contained in:
Martin Gerhardy 2021-01-24 16:54:30 +01:00
parent 140a6f1dfc
commit d7ff84d317
3 changed files with 7 additions and 2 deletions

View file

@ -1640,7 +1640,7 @@ static int32 lANIM_SET(TwinEEngine *engine, LifeScriptContext &ctx) {
* @note Opcode @c 0x60
*/
static int32 lHOLOMAP_TRAJ(TwinEEngine *engine, LifeScriptContext &ctx) {
engine->_holomap->drawHolomapTrajectory(ctx.stream.readByte());
engine->_scene->holomapTrajectory = ctx.stream.readByte();
return 0;
}