• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisão05d459b0a800eceb9a60722c18e96e91379fa7c0 (tree)
Hora2020-02-15 14:03:51
AutorHourier <hourier@user...>
CommiterHourier

Mensagem de Log

[Refactor] #37285 process_quantum_effect() を微修正 / Fixed process_quantum_effect() a little

Mudança Sumário

Diff

--- a/src/monster-process.c
+++ b/src/monster-process.c
@@ -2375,7 +2375,7 @@ bool process_quantum_effect(player_type *target_ptr, MONSTER_IDX m_idx, bool see
23752375 {
23762376 monster_type *m_ptr = &target_ptr->current_floor_ptr->m_list[m_idx];
23772377 monster_race *r_ptr = &r_info[m_ptr->r_idx];
2378- if (!r_ptr->flags2 & RF2_QUANTUM) return FALSE;
2378+ if ((r_ptr->flags2 & RF2_QUANTUM) == 0) return FALSE;
23792379 if (!randint0(2)) return FALSE;
23802380 if (randint0((m_idx % 100) + 10)) return FALSE;
23812381
Show on old repository browser