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:
parent
5517d871c6
commit
730df061b3
3 changed files with 4 additions and 3 deletions
|
@ -25,8 +25,6 @@ namespace mwmp
|
|||
MWWorld::Ptr getPtr();
|
||||
void setPtr(const MWWorld::Ptr& newPtr);
|
||||
|
||||
bool hasStatsDynamicData;
|
||||
|
||||
private:
|
||||
MWWorld::Ptr ptr;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -38,6 +38,9 @@ namespace mwmp
|
|||
|
||||
Animation animation;
|
||||
Attack attack;
|
||||
|
||||
bool hasPositionData;
|
||||
bool hasStatsDynamicData;
|
||||
};
|
||||
|
||||
class BaseActorList
|
||||
|
|
Loading…
Reference in a new issue