Fixed off-by-one-column beam animations.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1017 c06c8d41-db1a-0410-9941-cceddc491573
YZXHBEKWQPY4BTKG5FFGLP3AIRBQSTKQVLJJHWKQEA3HTN4UHDYQC }bool player_angers_monster(monsters *creation){// get the drawbacks, not the benefits...// (to prevent demon-scumming)if ( (you.religion == GOD_ZIN ||you.religion == GOD_SHINING_ONE ||you.religion == GOD_ELYVILON) &&mons_is_unholy(creation) ){if ( creation->attitude != ATT_HOSTILE ){creation->attitude = ATT_HOSTILE;if ( see_grid(creation->x, creation->y)&& player_monster_visible(creation) ){mprf("%s is enraged by your holy aura!",ptr_monam(creation, DESC_CAP_THE));}}return (true);}return (false);
// get the drawbacks, not the benefits...// (to prevent demon-scumming)if ( (you.religion == GOD_ZIN ||you.religion == GOD_SHINING_ONE ||you.religion == GOD_ELYVILON) &&mons_is_unholy(creation) ){if ( creation->attitude != ATT_HOSTILE ){creation->attitude = ATT_HOSTILE;if ( see_grid(cr_x, cr_y) )mpr("The monster is enraged by your holy aura!");}creation->behaviour = BEH_HOSTILE;beha = BEH_HOSTILE;}
dec_inv_item_quantity( you.equip[EQ_WEAPON], 1 );if (create_monster( MONS_EFREET, ENCH_ABJ_V, behaviour,you.x_pos, you.y_pos, MHITYOU, 250 ) != -1)
const int efreet = create_monster( MONS_EFREET, ENCH_ABJ_V, behaviour,you.x_pos, you.y_pos, MHITYOU, 250,false, false, true );if (efreet != -1)