openmw-tes3coop/apps/openmw/mwmp/processors/world/ProcessorObjectScale.hpp

26 lines
536 B
C++
Raw Normal View History

2017-04-18 03:37:32 +00:00
#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