Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Clinic sleeper bug?  (Read 844 times)

JeebusSez

  • Bay Watcher
    • View Profile
Clinic sleeper bug?
« on: November 29, 2008, 04:23:13 pm »

Not really a game crushing bug, more of a minor annoyance, but I've recruited a sleeper at the free clinic. since then, the game has made sure to tell me daily that that particular sleeper has left the free clinic, although she's stationed there.
Logged

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Clinic sleeper bug?
« Reply #1 on: November 29, 2008, 04:32:55 pm »

To tell you the truth, I'm surprised this bug is still around.
Logged

JeebusSez

  • Bay Watcher
    • View Profile
Re: Clinic sleeper bug?
« Reply #2 on: November 29, 2008, 04:35:26 pm »

Ah, so it's an old one. Got it.
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: Clinic sleeper bug?
« Reply #3 on: November 29, 2008, 05:15:04 pm »

I wasn't aware of it. ;) It should be easy to fix.
Logged

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Clinic sleeper bug?
« Reply #4 on: November 29, 2008, 05:31:11 pm »

I wasn't aware of it. ;) It should be easy to fix.

Speakin' of old bugs, you still didn't fix the "all keys pass a turn when raiding the Homeless Shelter" bug as of 240.  :P

The problem is here in sitemode.cpp IIRC:
Code: [Select]
         if(locx!=olocx||locy!=olocy||locz!=olocz||c=='s'||
            (cbase==cursite&&!location[cursite]->siege.siege))

So I guess if you're based at the shelter and you decide to raid it, that last bit returns true, thus a turn is passed.
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: Clinic sleeper bug?
« Reply #5 on: November 29, 2008, 07:34:34 pm »

Check and check on the clinic sleeper bug and the homeless shelter turn passing bug.

I just removed that second line you quoted, Earthquake Damage. I have no idea why that was even in there. Maybe it's a holdover from an extremely old version of LCS, like... pre-3.0 or something.
Logged