PassType typo fixup (#1018)
* PassType typo fixup Just some little observations, I will look up for more in other files whenever I can * Update natives.cpp * Update outputnatives.cpp
This commit is contained in:
parent
7e418933e7
commit
f9ce25a7fe
@ -305,7 +305,7 @@ static cell_t CS_TerminateRound(IPluginContext *pContext, const cell_t *params)
|
||||
REGISTER_NATIVE_ADDR("TerminateRound",
|
||||
PassInfo pass[2]; \
|
||||
pass[0].flags = PASSFLAG_BYVAL; \
|
||||
pass[0].type = PassType_Basic; \
|
||||
pass[0].type = PassType_Float; \
|
||||
pass[0].size = sizeof(float); \
|
||||
pass[1].flags = PASSFLAG_BYVAL; \
|
||||
pass[1].type = PassType_Basic; \
|
||||
@ -327,7 +327,7 @@ static cell_t CS_TerminateRound(IPluginContext *pContext, const cell_t *params)
|
||||
REGISTER_NATIVE_ADDR("TerminateRound",
|
||||
PassInfo pass[4]; \
|
||||
pass[0].flags = PASSFLAG_BYVAL; \
|
||||
pass[0].type = PassType_Basic; \
|
||||
pass[0].type = PassType_Float; \
|
||||
pass[0].size = sizeof(float); \
|
||||
pass[1].flags = PASSFLAG_BYVAL; \
|
||||
pass[1].type = PassType_Basic; \
|
||||
|
@ -337,7 +337,7 @@ static cell_t FireEntityOutput(IPluginContext *pContext, const cell_t *params)
|
||||
pass[6].type = PassType_Basic;
|
||||
pass[6].size = sizeof(CBaseEntity *);
|
||||
pass[7].flags = PASSFLAG_BYVAL;
|
||||
pass[7].type = PassType_Basic;
|
||||
pass[7].type = PassType_Float;
|
||||
pass[7].size = sizeof(float);
|
||||
#else
|
||||
int iMaxParam = 4;
|
||||
@ -353,7 +353,7 @@ static cell_t FireEntityOutput(IPluginContext *pContext, const cell_t *params)
|
||||
pass[2].type = PassType_Basic;
|
||||
pass[2].size = sizeof(CBaseEntity *);
|
||||
pass[3].flags = PASSFLAG_BYVAL;
|
||||
pass[3].type = PassType_Basic;
|
||||
pass[3].type = PassType_Float;
|
||||
pass[3].size = sizeof(float);
|
||||
#endif
|
||||
if (!(g_pFireOutput = g_pBinTools->CreateCall(addr, CallConv_ThisCall, NULL, pass, iMaxParam)))
|
||||
|
@ -55,7 +55,7 @@ cell_t TF2_MakeBleed(IPluginContext *pContext, const cell_t *params)
|
||||
pass[1].type = PassType_Basic; \
|
||||
pass[2].flags = PASSFLAG_BYVAL; \
|
||||
pass[2].size = sizeof(float); \
|
||||
pass[2].type = PassType_Basic; \
|
||||
pass[2].type = PassType_Float; \
|
||||
pass[3].flags = PASSFLAG_BYVAL; \
|
||||
pass[3].size = sizeof(int); \
|
||||
pass[3].type = PassType_Basic; \
|
||||
@ -110,7 +110,7 @@ cell_t TF2_Burn(IPluginContext *pContext, const cell_t *params)
|
||||
pass[1].type = PassType_Basic; \
|
||||
pass[2].flags = PASSFLAG_BYVAL; \
|
||||
pass[2].size = sizeof(float); \
|
||||
pass[2].type = PassType_Basic; \
|
||||
pass[2].type = PassType_Float; \
|
||||
pWrapper = g_pBinTools->CreateCall(addr, CallConv_ThisCall, NULL, pass, 3))
|
||||
}
|
||||
|
||||
@ -224,7 +224,7 @@ cell_t TF2_AddCondition(IPluginContext *pContext, const cell_t *params)
|
||||
pass[0].type = PassType_Basic; \
|
||||
pass[1].flags = PASSFLAG_BYVAL; \
|
||||
pass[1].size = sizeof(float); \
|
||||
pass[1].type = PassType_Basic; \
|
||||
pass[1].type = PassType_Float; \
|
||||
pass[2].flags = PASSFLAG_BYVAL; \
|
||||
pass[2].size = sizeof(CBaseEntity *); \
|
||||
pass[2].type = PassType_Basic; \
|
||||
@ -293,10 +293,10 @@ cell_t TF2_StunPlayer(IPluginContext *pContext, const cell_t *params)
|
||||
PassInfo pass[4]; \
|
||||
pass[0].flags = PASSFLAG_BYVAL; \
|
||||
pass[0].size = sizeof(float); \
|
||||
pass[0].type = PassType_Basic; \
|
||||
pass[0].type = PassType_Float; \
|
||||
pass[1].flags = PASSFLAG_BYVAL; \
|
||||
pass[1].size = sizeof(float); \
|
||||
pass[1].type = PassType_Basic; \
|
||||
pass[1].type = PassType_Float; \
|
||||
pass[2].flags = PASSFLAG_BYVAL; \
|
||||
pass[2].size = sizeof(int); \
|
||||
pass[2].type = PassType_Basic; \
|
||||
|
Loading…
Reference in New Issue
Block a user