Minor fixes and corrections

This commit is contained in:
JeffR 2026-05-31 11:53:41 -05:00
parent de26f519f9
commit b338510921
2 changed files with 2 additions and 2 deletions

View file

@ -602,7 +602,7 @@ void VolumetricFog::unpackUpdate(NetConnection *con, BitStream *stream)
VectorF mOldScale = getScale();
StringTableEntry oldTextureName = mTextureAsset.getAssetId();
StringTableEntry oldShapeAsset = mShapeAssetRef.assetId;
StringTableEntry oldShape = mShapeAssetRef.assetPtr->getShapeFile();
StringTableEntry oldShape = mShapeAssetRef.notNull() ? mShapeAssetRef.assetPtr->getShapeFile() : StringTable->EmptyString();
if (stream->readFlag())// Fog color
stream->read(&mFogColor);