[0017] Fix build error.

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-08 09:52:17 +02:00 committed by Antz
parent 6818d688a9
commit f019641119
3 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ CREATE TABLE `account_access` (
`gmlevel` tinyint(3) unsigned NOT NULL, `gmlevel` tinyint(3) unsigned NOT NULL,
`RealmID` int(11) NOT NULL DEFAULT '-1', `RealmID` int(11) NOT NULL DEFAULT '-1',
PRIMARY KEY (`id`,`RealmID`) PRIMARY KEY (`id`,`RealmID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MYISAM DEFAULT CHARSET=utf8;
INSERT INTO `account_access` VALUES INSERT INTO `account_access` VALUES
(1,3,-1), (1,3,-1),

View file

@ -157,8 +157,8 @@ void WorldSession::HandleCreatureQueryOpcode(WorldPacket& recv_data)
{ {
int loc_idx = GetSessionDbLocaleIndex(); int loc_idx = GetSessionDbLocaleIndex();
std::string name = ci->Name; char const* name = ci->Name;
std::string subName = ci->SubName; char const* subName = ci->SubName;
sObjectMgr.GetCreatureLocaleStrings(entry, loc_idx, &name, &subName); sObjectMgr.GetCreatureLocaleStrings(entry, loc_idx, &name, &subName);
DETAIL_LOG("WORLD: CMSG_CREATURE_QUERY '%s' - Entry: %u.", ci->Name, entry); DETAIL_LOG("WORLD: CMSG_CREATURE_QUERY '%s' - Entry: %u.", ci->Name, entry);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "0016" #define REVISION_NR "0017"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__