Closed JNechaevsky closed 9 months ago
Multiplayer spy is one of these obscure features that I can't even remember when I used it the last time. So, I didn't even know that it resets to consoleplayer with each level transition. Sure, I think if you have decided to follow a different player then this decision should hold across levels on multi-level demos.
Me neither, to be honest. Just noticed that something not right while level changing on Hexen (not even in Doom), I was expecting to check one player's values, but got entirely another player instead. Definitely one of those thing "never know, unless noticed".
Oh, no, this is wrong approach. Despite of chosen player is kept across levels, this way demo always starts from green (0
) player, matters no which player was recording demo itself. Notably on 30uv2245.zip with three players, where every player have own demo file. I'll investigate it farther, probably displayplayer = consoleplayer
just needs to be moved to G_DoPlayDemo
to be called once without any extra conditions.
Initially was planned for Hexen only, but other games gets improvements as well:
F12
player now kept between level changes while multiplayer demo playback. No need to change player over and over again on every level change (probably could be useful for Woof and Crispy, if @fabiangreffrath and @rfomin will be interested?)F12
player.TODO for later: