forked from mirror/openmw-tes3mp
27148ce9eb
Additionally, make it slightly clearer who created which previously existing packets.
25 lines
536 B
C++
25 lines
536 B
C++
#ifndef OPENMW_PROCESSOROBJECTSCALE_HPP
|
|
#define OPENMW_PROCESSOROBJECTSCALE_HPP
|
|
|
|
#include "BaseObjectProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorObjectScale : public BaseObjectProcessor
|
|
{
|
|
public:
|
|
ProcessorObjectScale()
|
|
{
|
|
BPP_INIT(ID_OBJECT_SCALE)
|
|
}
|
|
|
|
virtual void Do(WorldPacket &packet, WorldEvent &event)
|
|
{
|
|
BaseObjectProcessor::Do(packet, event);
|
|
|
|
event.scaleObjects(ptrCellStore);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSOROBJECTSCALE_HPP
|