fix: skip the wide null after a scene file particle's effect names

Before version 46 the u16 after a particle's effect names is the names'
wide null terminator, 0 in every shipped scene file. It is skipped
instead of kept as an unknown value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-04 21:34:04 -06:00
parent c33d74f8c6
commit 7a90869ebd
3 changed files with 8 additions and 5 deletions

View File

@@ -91,7 +91,6 @@ struct LevelParticle {
NiPoint3 position;
NiQuaternion rotation = QuatUtils::IDENTITY;
std::string effectNames; // separated by ';'
uint16_t unknown{}; // before version 46
// Version 46 on. The client keeps the last one it read for a particle without one
std::string config;
};