mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
[Quest API] Add GetFactionName() to Perl/Lua. (#1859)
* [Quest API] Add GetFactionName() to Perl/Lua. - Add quest::getfactionname(faction_id) to Perl. - Add eq.get_faction_name(faction_id) to Lua. * Update embparser_api.cpp * Update embparser_api.cpp * Update embparser_api.cpp
This commit is contained in:
+1
-1
@@ -6946,7 +6946,7 @@ void Client::SendStatsWindow(Client* client, bool use_window)
|
||||
for (auto iter = item_faction_bonuses.begin(); iter != item_faction_bonuses.end(); ++iter) {
|
||||
memset(&faction_buf, 0, sizeof(faction_buf));
|
||||
|
||||
if(!content_db.GetFactionName((int32)((*iter).first), faction_buf, sizeof(faction_buf)))
|
||||
if(!content_db.GetFactionName((int)((*iter).first), faction_buf, sizeof(faction_buf)))
|
||||
strcpy(faction_buf, "Not in DB");
|
||||
|
||||
if((*iter).second > 0) {
|
||||
|
||||
Reference in New Issue
Block a user