--- deliantra/server/include/player.h 2009/11/04 17:24:00 1.94 +++ deliantra/server/include/player.h 2009/11/09 18:47:56 1.97 @@ -24,6 +24,8 @@ #ifndef PLAYER_H_ #define PLAYER_H_ +//+GPL + enum bowtype_t { bow_normal = 0, @@ -88,7 +90,7 @@ }; // used for pet monster logic etc. -static bool +static inline bool same_party (partylist *a, partylist *b) { return a == b && a; @@ -174,6 +176,8 @@ /* the player can see. For maps smaller than */ /* MAP_CLIENT_.., the center is used */ +//-GPL + // return the los value for the given coordinate MTH sint8 blocked_los (int dx, int dy) const { @@ -258,6 +262,12 @@ // improvement potion. should not be long. MTH void failmsg (const char *msg, int color = NDI_RED); + MTH void update_spells () const + { + if (ns) + ns->update_spells = true; + } + ~player (); private: