summaryrefslogtreecommitdiffstats
path: root/src/resources
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2023-02-24 22:53:53 (EST)
committer P. J. McDermott <pj@pehjota.net>2023-02-24 22:53:53 (EST)
commit4a07d2676fd06b20180b7bbac2aff06d7a0fbcde (patch)
tree979f85650cec97437c5a488ee2fde7cc366d9a01 /src/resources
parenta9d7345e8ea6a9cabad8d8e421a5e2cf358005ed (diff)
downloadoverworld-rpg-4a07d2676fd06b20180b7bbac2aff06d7a0fbcde.zip
overworld-rpg-4a07d2676fd06b20180b7bbac2aff06d7a0fbcde.tar.gz
overworld-rpg-4a07d2676fd06b20180b7bbac2aff06d7a0fbcde.tar.bz2
ffi: Eliminate call_arg_index static global var
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/script.h b/src/resources/script.h
index 12dac85..01a88f6 100644
--- a/src/resources/script.h
+++ b/src/resources/script.h
@@ -25,6 +25,7 @@
struct script {
struct resource res;
lua_State *lua_state;
+ int call_arg_index;
};
struct script *script_get(const char *path);