This commit is contained in:
2022-03-21 11:51:20 +08:00
parent b727d126ae
commit 9e120025de
5 changed files with 19 additions and 6 deletions

View File

@@ -816,10 +816,12 @@ static int Redom_Dragon(uint32_t v)
//获取 龙盒 模式
static int Get_DragonModel(uint32_t v)
{
int Model = STL::SelectDargonModel_STL();//龙盒模式
int Type;
int ParameterNum = SQGetTop(v);
if (ParameterNum == 1)
if (ParameterNum == 2)
{
SQGetInt(v, 2, &Type);
int Model = STL::SelectDargonModel_STL(Type);//龙盒模式
SQPushInt(v, Model);
}
else