[7762] Fixed build in *nix.

This commit is contained in:
AlexDereka 2009-05-04 21:58:22 +04:00
parent 20ffd7f421
commit aebf74ec45
2 changed files with 17 additions and 9 deletions

View file

@ -26,14 +26,6 @@
class Item;
uint32 GuildBankTabPrice[GUILD_BANK_MAX_TABS] =
{ 100,250,500,1000,2500,5000 };
inline uint32 GetGuildBankTabPrice(uint8 Index)
{
return Index < GUILD_BANK_MAX_TABS ? GuildBankTabPrice[Index] : 0;
}
enum GuildDefaultRanks
{
GR_GUILDMASTER = 0,
@ -197,6 +189,22 @@ enum GuildEmblem
ERR_GUILDEMBLEM_INVALIDVENDOR = 5
};
inline uint32 GetGuildBankTabPrice(uint8 Index)
{
switch(Index)
{
case 0: return 100;
case 1: return 250;
case 2: return 500;
case 3: return 1000;
case 4: return 2500;
case 5: return 5000;
default:
return 0;
}
return 0;
}
struct GuildBankEvent
{
uint32 LogGuid;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7761"
#define REVISION_NR "7762"
#endif // __REVISION_NR_H__