summaryrefslogtreecommitdiff
path: root/src/js/primitives/call.js
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-30 23:32:19 -0400
committerspv420 <spv@spv.sh>2022-07-30 23:32:19 -0400
commit630aecdb5082b7aabf38c4d5594fb236bebcceff (patch)
treedd65f68e2d342a53bd4cfa59d0a8fcd149376be2 /src/js/primitives/call.js
parente35a04268fb48fac634ca123a58584a26b513831 (diff)
hell
Diffstat (limited to 'src/js/primitives/call.js')
-rw-r--r--src/js/primitives/call.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/primitives/call.js b/src/js/primitives/call.js
index e38026f..a581c91 100644
--- a/src/js/primitives/call.js
+++ b/src/js/primitives/call.js
@@ -403,7 +403,7 @@ function scall() {
args_to_pass.push(sptr(arguments[i]));
} else {
args_to_pass.push(arguments[i]);
- if ((arguments[i] & 0xffff0000 == 0xffff0000 || arguments[i] & 0xffff0000 == 0xfffe0000) && (i == 1 || i == 3)) {
+ if ((arguments[i] & 0xffff0000 == 0xffff0000 || arguments[i] & 0xffff0000 == 0xfffe0000)/* && (i == 2 || i == 4)*/) {
force_callnarg = true;
}
}