mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
set typehint for spawners to the spawndatablock
This commit is contained in:
parent
b1f118898e
commit
361ea5286e
1 changed files with 2 additions and 0 deletions
|
|
@ -166,6 +166,8 @@ class SpawnSphere : public MissionMarker
|
|||
bool mAutoSpawn;
|
||||
bool mSpawnTransform;
|
||||
|
||||
/// returns the datablock spawned for this object
|
||||
StringTableEntry getTypeHint() const override { return (mSpawnDataBlock.isNotEmpty()) ? mSpawnDataBlock.c_str() : StringTable->EmptyString(); };
|
||||
// Radius/weight info
|
||||
F32 mRadius;
|
||||
F32 mSphereWeight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue