diff options
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 3c82fd9e91..6d8e51ccb8 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -85,6 +85,7 @@ end if\n\ if x >1 then\n\ exit\n\ end if\n\ +put 100\n\ \n\ --\n\ macro ZIPX\n\ @@ -104,9 +105,14 @@ if par1 = 3 then\n\ else\n\ put 9\n\ end if\n\ -shipx\n\ ", kMovieScript, 1); +_lingo->addCode("shipx\n\ +put x\n\ +", kMovieScript, 2); + +_lingo->executeScript(kMovieScript, 2); + return Common::kNoError; |