- avoid using plain char pointers to store script data for FraggleScript.

This commit is contained in:
Christoph Oelckers 2020-04-11 12:12:22 +02:00
commit 3db56651f4
11 changed files with 37 additions and 44 deletions

View file

@ -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;
}