Possibly stupid question...
Does the compiler inline variables at compile time?
Like:
PHP Code:
public Ham_Item_Deploy_Pre(iEnt)
{
new id = pev(iEnt , pev_owner); // it will be referenced only once
console_print(0, "%n deployed a flashbang!", id);
}
turns to this:
PHP Code:
public Ham_Item_Deploy_Pre(iEnt)
{
console_print(0, "%n deployed a flashbang!", pev(iEnt , pev_owner));
}
Or not?
If not, should I worry about it and make
id static?
__________________