mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 02:49:55 +00:00
3effd5f1ff
Dead players will now show up at the correct cell and position for living players, making server scripts that allow players to revive each other much more functional.
23 lines
491 B
C++
23 lines
491 B
C++
#ifndef OPENMW_PROCESSORPLAYERPOSITION_HPP
|
|
#define OPENMW_PROCESSORPLAYERPOSITION_HPP
|
|
|
|
#include "../PlayerProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorPlayerPosition : public PlayerProcessor
|
|
{
|
|
public:
|
|
ProcessorPlayerPosition()
|
|
{
|
|
BPP_INIT(ID_PLAYER_POSITION)
|
|
}
|
|
|
|
void Do(PlayerPacket &packet, Player &player) override
|
|
{
|
|
player.sendToLoaded(&packet);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORPLAYERPOSITION_HPP
|