Snagar's changes to FlyWithLua.cpp to get the right usage of intptr_t, int and long
Atribute changes