Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: Good old perceive self bug



Hi,

when a player uses a rod of perceive self, he is told that he worships
no god. If he is casting the spell himself, everything works fine.

The problem seems to be in server/gods.c, determine_god(): it uses
the currently choosen skill, and using a rod doesn't have a god associated
with the rod :-) Not quite sure how it should be done, but it seems
that the player inventory (?) should be searched for the god instead.

Christian


-- 
Christian Stieber        http://www.informatik.tu-muenchen.de/~stieber
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]