summaryrefslogtreecommitdiffstats
path: root/src/extras
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-25 15:48:03 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-25 15:48:03 +0200
commit7ddfc4067529e6635b29cc0805a4cc927b37bbf3 (patch)
treec68d7c956619f68a5928ed00fabbc00f6061aa44 /src/extras
parentfixed flight control code (diff)
parentfixed shooting target (diff)
downloadre3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.tar
re3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.tar.gz
re3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.tar.bz2
re3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.tar.lz
re3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.tar.xz
re3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.tar.zst
re3-7ddfc4067529e6635b29cc0805a4cc927b37bbf3.zip
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/debugmenu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extras/debugmenu.h b/src/extras/debugmenu.h
index 3ef8c742..462b59c4 100644
--- a/src/extras/debugmenu.h
+++ b/src/extras/debugmenu.h
@@ -80,3 +80,7 @@ inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name,
DebugMenuEntrySetWrap(e, true);
return e;
}
+inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name, bool *ptr, TriggerFunc triggerFunc)
+{
+ return DebugMenuAddVarBool8(path, name, (int8_t*)ptr, triggerFunc);
+}