mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-11 22:38:10 +03:00
Fixed minor bug
This commit is contained in:
parent
5e14f93868
commit
a2edcc38b1
@ -1255,7 +1255,7 @@ int AMXAPI amx_NameLength(AMX *amx, int *length)
|
||||
*length=*namelength;
|
||||
assert(hdr->file_version>=7); /* name table exists only for file version 7+ */
|
||||
} else {
|
||||
*length=hdr->defsize - sizeof(uint32_t);
|
||||
*length=hdr->defsize - sizeof(cell);
|
||||
} /* if */
|
||||
return AMX_ERR_NONE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user