bug in r2038

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jungle_Boy
    Swordsman
    • Nov 2008
    • 434

    bug in r2038

    There seems to be a bug so that when you swing at a monster with no weapon equipped it does not generate a hit message. You still see when you missed or killed the monster but no hits.
    My first winner: http://angband.oook.cz/ladder-show.php?id=10138
  • Twilight
    Apprentice
    • Jan 2009
    • 58

    #2
    Good catch!

    I'm not sure this is because of my message color patch, but default attack without a weapon didn't get an attack-message type.

    I'll attach a one-line patch and I'll post a ticket with the patch as well.
    Attached Files
    It's better to burn out than to fade away!

    Comment

    • Pete Mack
      Prophet
      • Apr 2007
      • 6883

      #3
      I found another (rev 2040), by examining the compile log warnings.

      Code:
      cmd-know.c: In function 'display_knowledge':
      cmd-know.c:599:4: warning: case value '27' not in enumerated type 'ui_event_type'
      is a genuine bug. ESCAPE should be EVT_ESCAPE

      Comment

      • Magnate
        Angband Devteam member
        • May 2007
        • 5110

        #4
        Originally posted by Pete Mack
        I found another (rev 2040), by examining the compile log warnings.

        Code:
        cmd-know.c: In function 'display_knowledge':
        cmd-know.c:599:4: warning: case value '27' not in enumerated type 'ui_event_type'
        is a genuine bug. ESCAPE should be EVT_ESCAPE
        Wow - what compiler options do you need to see that? I've never seen that warning, and cmd-know.c hasn't been changed since r1994!
        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

        Comment

        • Pete Mack
          Prophet
          • Apr 2007
          • 6883

          #5
          This is the latest version of gcc (4.5.0) included in MinGW, using Makefile.win

          Comment

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