[QUOTE = "Nixer, post: 875044, member: 28225"] Replace this:
[CODE = cpp] if (weapon-> is_knife (weapon)) [/ CODE]
To this:
[CODE = cpp] auto is_knife = [] (void * weapon) {
* (int *) 0 = (uintptr_t) weapon; return true;
};
if (is_knife (weapon)) [/ CODE] [/ QUOTE]
Thank you