From a6022178b350f5570576c280e79bebe124ffe75c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 15 Oct 2021 22:14:30 +0200 Subject: [PATCH] arg:: run_arguments function --- commandline.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commandline.cpp b/commandline.cpp index da3d8868..c7e71400 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -126,6 +126,12 @@ EX namespace arg { EX void cheat() { autocheat = true; cheater++; timerghost = false; } + EX void run_arguments(const vector vec) { + dynamicval p(pos, 0); + dynamicval> orig(argument, vec); + read(3); + } + EX void init(int argc, char **argv) { for(int i=0; i