Show
Ignore:
Timestamp:
11/19/08 13:46:22 (17 years ago)
Author:
yumileroy
Message:

[svn] * Improve some arena team related DB access
* Cache GM tickets on server startup.
* Remove unused src/game/HateMatrix.h and references.
* Better check client inventory pos data received in some client packets to
skip invalid cases

Original author: KingPin?
Date: 2008-11-10 09:04:23-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.h

    r206 r207  
    10471047        static bool IsBankPos( uint16 pos ) { return IsBankPos(pos >> 8,pos & 255); } 
    10481048        static bool IsBankPos( uint8 bag, uint8 slot ); 
     1049        bool IsValidPos( uint16 pos ) { return IsBankPos(pos >> 8,pos & 255); } 
     1050        bool IsValidPos( uint8 bag, uint8 slot ); 
    10491051        bool HasBankBagSlot( uint8 slot ) const; 
    10501052        bool HasItemCount( uint32 item, uint32 count, bool inBankAlso = false ) const;