diff --git a/exec/load/binkp.js b/exec/load/binkp.js
index cfe41c496ba11cd4d1e1fab4adff7cf98492ed73..bd6aa32a5f54761eb8e3c44a98cf4de316557eff 100644
--- a/exec/load/binkp.js
+++ b/exec/load/binkp.js
@@ -1193,7 +1193,7 @@ BinkP.prototype.addFile = function(path, sendas, waitget)
 {
 	var file = new File(path);
 
-	reset_eob(true);
+	this.reset_eob(true);
 	if (sendas === undefined)
 		sendas = file_getname(path);
 	if (waitget === undefined)