mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Added the any tag fix for functions returning any:
This commit is contained in:
parent
079606c143
commit
1129f09660
@ -284,7 +284,7 @@ static void (*unopers[])(void) = { lneg, neg, user_inc, user_dec };
|
|||||||
|
|
||||||
SC_FUNC int matchtag(int formaltag,int actualtag,int allowcoerce)
|
SC_FUNC int matchtag(int formaltag,int actualtag,int allowcoerce)
|
||||||
{
|
{
|
||||||
if (formaltag!=actualtag && formaltag!=pc_anytag) {
|
if (formaltag!=actualtag && formaltag!=pc_anytag && actualtag!=pc_anytag) {
|
||||||
/* if the formal tag is zero and the actual tag is not "fixed", the actual
|
/* if the formal tag is zero and the actual tag is not "fixed", the actual
|
||||||
* tag is "coerced" to zero
|
* tag is "coerced" to zero
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user