- avoid using plain char pointers to store script data for FraggleScript.
This commit is contained in:
parent
5865c4dcca
commit
3db56651f4
11 changed files with 37 additions and 44 deletions
|
|
@ -428,7 +428,7 @@ void DFsScript::ClearVariables(bool complete)
|
|||
|
||||
char *DFsScript::LabelValue(const svalue_t &v)
|
||||
{
|
||||
if (v.type == svt_label) return data + v.value.i;
|
||||
if (v.type == svt_label) return Data.Data() + v.value.i;
|
||||
else return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue