1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:15:31 +00:00

[General] Add hasPositionData and hasStatsDynamicData bools to BaseActor

This commit is contained in:
David Cernat 2017-05-01 19:44:23 +03:00
parent 5517d871c6
commit 730df061b3
3 changed files with 4 additions and 3 deletions

View file

@ -25,8 +25,6 @@ namespace mwmp
MWWorld::Ptr getPtr();
void setPtr(const MWWorld::Ptr& newPtr);
bool hasStatsDynamicData;
private:
MWWorld::Ptr ptr;

View file

@ -224,7 +224,7 @@ void WorldEvent::scaleObjects(MWWorld::CellStore* cellStore)
{
worldObject = objectChanges.objects.at(i);
LOG_APPEND(Log::LOG_VERBOSE, "- cellRef: %s, %i, %i\nscale: %f", worldObject.refId.c_str(), worldObject.refNumIndex,
LOG_APPEND(Log::LOG_VERBOSE, "- cellRef: %s, %i, %i\n- scale: %f", worldObject.refId.c_str(), worldObject.refNumIndex,
worldObject.mpNum, worldObject.scale);
MWWorld::Ptr ptrFound = cellStore->searchExact(worldObject.refId, worldObject.refNumIndex, worldObject.mpNum);

View file

@ -38,6 +38,9 @@ namespace mwmp
Animation animation;
Attack attack;
bool hasPositionData;
bool hasStatsDynamicData;
};
class BaseActorList