forked from mirror/openmw-tes3mp
26 lines
536 B
C++
26 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
|