Alexander 'z33ky' Hirsch c9dd357470 Prevent return of dangling Vector/QAngle to VScript
When a Vector or QAngle rvalue reference is returned from a VScript
function, the constructed ScriptVariant_t must not store the pointer to
it since it is, per convention, a temporary reference. Only do that for
lvalue-references, but do a copy when constructing from or assigning a
rvalue reference.
2024-09-05 23:24:06 +02:00
..
2014-05-15 13:59:18 -07:00