Open GhenTuong opened 2 years ago
src\xrGame\WeaponMagazinedWGrenade.cpp
CGameObject* object = smart_cast<CGameObject*>(H_Parent()); if (object) object->callback(GameObject::eOnWeaponFired)(object->lua_game_object(), this->lua_game_object(), iAmmoElapsed);
Change #ifndef to #ifdef
src\xrGame\WeaponMagazinedWGrenade.cpp
ifndef EXTENDED_WEAPON_CALLBACKS
endif
Change #ifndef to #ifdef