Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1677,7 +1677,7 @@ bool Group::InCombatToInstance(uint32 instanceId) | |
return false; | ||
} | ||
|
||
bool Group::SetPlayerMap(const ObjectGuid guid, uint32 mapid) | ||
bool Group::SetPlayerMap(ObjectGuid guid, uint32 mapid) | ||
{ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
VladimirMangos
|
||
member_witerator slot = _getMemberWSlot(guid); | ||
if (slot != m_memberSlots.end()) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -307,7 +307,7 @@ QueryResult* Database::PQuery(const char *format,...) | |
if(res==-1) | ||
{ | ||
sLog.outError("SQL Query truncated (and not execute) for format: %s",format); | ||
return false; | ||
return NULL; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
VladimirMangos
|
||
} | ||
|
||
return Query(szQuery); | ||
|
@@ -326,7 +326,7 @@ QueryNamedResult* Database::PQueryNamed(const char *format,...) | |
if(res==-1) | ||
{ | ||
sLog.outError("SQL Query truncated (and not execute) for format: %s",format); | ||
return false; | ||
return NULL; | ||
} | ||
|
||
return QueryNamed(szQuery); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "11927" | ||
#define REVISION_NR "11928" | ||
#endif // __REVISION_NR_H__ |
Why you remove const?
const is good for compiler