mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:49:56 +00:00
25 lines
559 B
C++
25 lines
559 B
C++
#ifndef OPENMW_PROCESSOROBJECTROTATE_HPP
|
|
#define OPENMW_PROCESSOROBJECTROTATE_HPP
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorObjectRotate : public BaseObjectProcessor
|
|
{
|
|
public:
|
|
ProcessorObjectRotate()
|
|
{
|
|
BPP_INIT(ID_OBJECT_ROTATE)
|
|
}
|
|
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
|
{
|
|
BaseObjectProcessor::Do(packet, objectList);
|
|
|
|
objectList.rotateObjects(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTROTATE_HPP
|