示例#1
0
/**
 * @brief Checks to see if the actor can reload.
 */
static int AIL_canreload (lua_State *L)
{
	lua_pushboolean(L, G_ClientCanReload(AIL_ent, gi.csi->idRight));
	lua_pushboolean(L, G_ClientCanReload(AIL_ent, gi.csi->idLeft));
	return 2;
}
示例#2
0
/**
 * @brief Checks to see if the actor can reload.
 */
static int AIL_canreload (lua_State *L)
{
	lua_pushboolean(L, G_ClientCanReload(AIL_ent, CID_RIGHT));
	lua_pushboolean(L, G_ClientCanReload(AIL_ent, CID_LEFT));
	return 2;
}