1
0
Fork 0

use cmdarg().getParent() to access own XML structure ("this" will die)

This commit is contained in:
mfranz 2007-07-12 22:35:14 +00:00
parent f639845508
commit b67402f084

View file

@ -101,8 +101,9 @@ ________________________________________________________________________________
<nasal>
<script><![CDATA[
data = props.globals.getNode(this).getNode("data");
mode = data.getNode("mode");
var self = cmdarg().getParent();
var data = self.getNode("data");
var mode = data.getNode("mode");
modifier = data.getNode("modifier");
f1 = f2 = 0;
left_brake = right_brake = 0;