Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > v4

Reply
 
Thread Tools Display Modes
Old June 12, 2012, 13:24   #1
kaypy
Adept
 
Join Date: May 2009
Posts: 208
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   Reply With Quote
Old June 12, 2012, 14:00   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,992
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ 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.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Reply


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 18:12
No more Search tab? awldune Oook! 12 December 12, 2008 01:10
Area of Effect kandrc Vanilla 16 January 19, 2008 12:27
Oldtimer online? Search patch from 1999 TJA Vanilla 2 August 20, 2007 09:59


All times are GMT +1. The time now is 01:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.