mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
Lua - fix one thing so you can break another.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3913 387891d4-d844-0410-90c0-e4c51a9137d3
This commit is contained in:
1 parent
a3ec50ee2c
commit
f8f3b2c9e7
2 files changed
+5
-6
No files matched your search
+3
-6
@@ -7738,12 +7738,9 @@ int ade_set_args(lua_State *L, char *fmt, ...)
|
||||
lua_pushnumber(L, va_arg(vl, int));
|
||||
break;
|
||||
case 's':
|
||||
{
|
||||
//WMC - Don't know why I need the & on va_arg
|
||||
//but whatever. As long as it works.
|
||||
lua_pushstring(L, &va_arg(vl, char));
|
||||
break;
|
||||
}
|
||||
//WMC - Isn't working with HookVar for some strange reason
|
||||
lua_pushstring(L, va_arg(vl, char*));
|
||||
break;
|
||||
case 'u':
|
||||
case 'v':
|
||||
//WMC - Default upvalues, to reserve space for real ones
|
||||
|
||||
Reference in new issue
Block a user