diff options
author | Scott Percival | 2019-11-30 23:54:13 +0800 |
---|---|---|
committer | Scott Percival | 2019-12-02 21:57:10 +0800 |
commit | 473a2b7463bc44a2535c61e7efad2157120d2daf (patch) | |
tree | 9d898d3d56135b37334135ab56facb90c9030ed8 /engines/director/lingo/lingo-builtins.cpp | |
parent | 29be7c0fa6af06fed0965348e880e908273e05f1 (diff) | |
download | scummvm-rg350-473a2b7463bc44a2535c61e7efad2157120d2daf.tar.gz scummvm-rg350-473a2b7463bc44a2535c61e7efad2157120d2daf.tar.bz2 scummvm-rg350-473a2b7463bc44a2535c61e7efad2157120d2daf.zip |
DIRECTOR: Add readString and getString
Diffstat (limited to 'engines/director/lingo/lingo-builtins.cpp')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index 95b83e945a..9f29d4c8b0 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -1316,10 +1316,10 @@ void Lingo::b_point(int nargs) { x.toFloat(); y.toFloat(); - d.u.arr = new FloatArray; + d.u.farr = new FloatArray; - d.u.arr->push_back(x.u.f); - d.u.arr->push_back(y.u.f); + d.u.farr->push_back(x.u.f); + d.u.farr->push_back(y.u.f); d.type = POINT; g_lingo->push(d); |