… | |
… | |
316 | * points to the god of this altar (which we have |
316 | * points to the god of this altar (which we have |
317 | * already verified is non null). pl_god->other_arch |
317 | * already verified is non null). pl_god->other_arch |
318 | * is the opposing god - we need to verify that exists before |
318 | * is the opposing god - we need to verify that exists before |
319 | * using its values. |
319 | * using its values. |
320 | */ |
320 | */ |
321 | if (pl_god->other_arch && (altar->other_arch->name == pl_god->other_arch->name)) |
321 | if (pl_god->other_arch && (altar->other_arch->archname == pl_god->other_arch->archname)) |
322 | { |
322 | { |
323 | angry = 2; |
323 | angry = 2; |
324 | if (random_roll (0, skill->level + 2, pl, PREFER_LOW) - 5 > 0) |
324 | if (random_roll (0, skill->level + 2, pl, PREFER_LOW) - 5 > 0) |
325 | { |
325 | { |
326 | object *tmp; |
326 | object *tmp; |