[crossfire] [Crossfire-cvs] SF.net SVN: crossfire: [5296] server

Nicolas Weeger (Laposte) nicolas.weeger at laposte.net
Sat Jan 6 02:15:10 CST 2007


> > +            if(given_by == god->name){
>
> This probably will not work: when loading from a file, I think the stored
> values will not be shared strings. I.e., this check probably will work
> until the player logs out. But after re-login it may fail.

This should work, as the god's name is a shared string, and the given_by 
(returned from key_value) is one too :)


Nicolas



More information about the crossfire mailing list