mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 04:45:31 +00:00
skip trying to be clever and just report the variable name being checked directly
This commit is contained in:
parent
55ac453ab9
commit
011a8906ff
14 changed files with 29 additions and 33 deletions
|
|
@ -36,7 +36,7 @@
|
|||
// When an effect is added using "addEffect", this validator intercepts the value
|
||||
// and adds it to the dynamic effects list.
|
||||
//
|
||||
void afxPhraseEffectData::ewValidator::validateType(SimObject* object, void* typePtr)
|
||||
void afxPhraseEffectData::ewValidator::validateType(SimObject* object, StringTableEntry varname, void* typePtr)
|
||||
{
|
||||
afxPhraseEffectData* eff_data = dynamic_cast<afxPhraseEffectData*>(object);
|
||||
afxEffectBaseData** ew = (afxEffectBaseData**)(typePtr);
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class afxPhraseEffectData : public GameBaseData, public afxEffectDefs, public af
|
|||
U32 id;
|
||||
public:
|
||||
ewValidator(U32 id) { this->id = id; }
|
||||
void validateType(SimObject *object, void *typePtr) override;
|
||||
void validateType(SimObject *object, StringTableEntry varname, void *typePtr) override;
|
||||
};
|
||||
|
||||
bool do_id_convert;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue