-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -874,9 +874,9 @@ u32 CGameObject::ef_anomaly_type () const | |
u32 CGameObject::ef_weapon_type () const | ||
{ | ||
string16 temp; CLSID2TEXT(CLS_ID,temp); | ||
R_ASSERT3 (false,"Invalid weapon type request, virtual function is not properly overridden!",temp); | ||
return (u32(-1)); | ||
// return (u32(0)); | ||
//R_ASSERT3 (false,"Invalid weapon type request, virtual function is not properly overridden!",temp); | ||
Msg("!![%s] Invalid weapon type request, virtual function is not properly overridden [%s] ", __FUNCTION__, temp); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
xrSimpodin
Author
Member
|
||
return u32(-1); | ||
} | ||
|
||
u32 CGameObject::ef_detector_type () const | ||
|
Такой вылет может произойти только при неправильно написанном коде, геймдата никак не может его вызвать. Поэтому, лучше именно вылет тут кидать, чтобы сразу найти баг, если что, и не дать игроку с ним столкнуться.