Go Back   Angband Forums > Obsolete > v4

Thread Tools Display Modes
Old June 12, 2012, 13:24   #1
Join Date: May 2009
Posts: 294
kaypy is on a distinguished road
Search beyond lit area?

I keep on getting "you have found a [trap|secret door]" when I haven't actually gotten close enough to see what I have found.

This seems a touch odd.

The relevent code seems to be around 93 in cmd1.c/search()

The los routine used here only checks for obstacles and not light.

Would player_can_see_bold be a better choice here?
kaypy is offline  
Old June 12, 2012, 14:00   #2
Angband Devteam member
Join Date: May 2007
Location: London, UK
Posts: 5,110
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Good catch. I'm not sure if Gabe intended trap detection to be a 'sixth sense' which didn't rely on visibility. So this might be WAD. I'll point him at this thread next time he's around, if he doesn't find it first.
"Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
Magnate is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
feature request - no disturb on 100% search PowerDiver Vanilla 11 June 14, 2010 22:07
3.1.0 beta - minor bug? - green lit floor tiles in prelit rooms vorondil Vanilla 2 January 8, 2009 19:12
No more Search tab? awldune Oook! 12 December 12, 2008 02:10
Area of Effect kandrc Vanilla 16 January 19, 2008 13:27
Oldtimer online? Search patch from 1999 TJA Vanilla 2 August 20, 2007 09:59

All times are GMT +1. The time now is 23:18.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.