[CF-Devel] friendly bug fixed.

Mark Wedel mwedel at scruz.net
Wed Jan 17 00:15:42 CST 2001


 I've just checked in a fix for the monsters not attacking players:

Changes to fix monsters not attacking players.  Player was not getting
marked as friendly, and thus getting removed from the list.
server/login.c: set FLAG_FRIENDLY when we load the player and call
    add_friendly_object.
server/player.c: add_player: set FLAG_FRIENDLY.  get_nearest_player
    modified to discard non friendly objects on friendly list - makes
    bug reprocible much more easily.
MSW 2001-1-16

    
    


More information about the crossfire mailing list