r1399 - an else too far.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PaulBlay
    Knight
    • Jan 2009
    • 657

    r1399 - an else too far.

    Code:
    obj_pseudo_t object_pseudo(const object_type *o_ptr)
    {
           object_kind *k_ptr = &k_info[o_ptr->k_idx];
    
           [COLOR="Red"]else[/COLOR] if ((o_ptr->known_flags[0] & TR0_OBVIOUS_MASK) ||
                            (o_ptr->known_flags[2] & TR2_OBVIOUS_MASK))
                   return INSCRIP_SPLENDID;
    Currently turning (Angband) Japanese.
  • takkaria
    Veteran
    • Apr 2007
    • 1951

    #2
    Originally posted by PaulBlay
    Code:
    obj_pseudo_t object_pseudo(const object_type *o_ptr)
    {
           object_kind *k_ptr = &k_info[o_ptr->k_idx];
    
           [COLOR="Red"]else[/COLOR] if ((o_ptr->known_flags[0] & TR0_OBVIOUS_MASK) ||
                            (o_ptr->known_flags[2] & TR2_OBVIOUS_MASK))
                   return INSCRIP_SPLENDID;
    And the fix for that brings us nicely up to r1400, ta.
    takkaria whispers something about options. -more-

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎