197 {
199 {
200 if (!
m_weapon.IsInternalMagazineFull(muzzleIndex))
201 {
203 {
204 if (LogManager.IsWeaponLogEnable()) {
wpnDebugPrint(
"[wpnfsm] " +
Object.GetDebugName(
m_weapon) +
" WeaponChambering PushBulletToInternalMagazine, ok - " +
m_type +
" - internal magazine"); }
205 return true;
206 }
207 else
208 {
209 if (LogManager.IsWeaponLogEnable()) {
wpnDebugPrint(
"[wpnfsm] " +
Object.GetDebugName(
m_weapon) +
" WeaponChambering PushBulletToInternalMagazine, error - " +
m_type +
" cannot load to internal magazine!"); }
210 }
211 }
212 else
213 {
214 if (LogManager.IsWeaponLogEnable()) {
wpnDebugPrint(
"[wpnfsm] " +
Object.GetDebugName(
m_weapon) +
" WeaponChambering PushBulletToInternalMagazine, error - " +
m_type +
" cannot load to internal magazine(full)!"); }
215 }
216
217 }
218 else
219 {
220 if (LogManager.IsWeaponLogEnable()) {
wpnDebugPrint(
"[wpnfsm] " +
Object.GetDebugName(
m_weapon) +
" WeaponChambering PushBulletToInternalMagazine, error - bullet type is not set!"); }
221 }
222 return false;
223 }
void wpnDebugPrint(string s)