mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
[Bug Fix] Fix npcfeature and playerfeature (#3017)
This commit is contained in:
parent
a78c754c0e
commit
a97a9a0d1c
@ -1063,12 +1063,12 @@ void Perl__playertexture(int texture_id)
|
||||
quest_manager.playertexture(texture_id);
|
||||
}
|
||||
|
||||
void Perl__playerfeature(char* feature, int value)
|
||||
void Perl__playerfeature(const char* feature, int value)
|
||||
{
|
||||
quest_manager.playerfeature(feature, value);
|
||||
}
|
||||
|
||||
void Perl__npcfeature(char* feature, int value)
|
||||
void Perl__npcfeature(const char* feature, int value)
|
||||
{
|
||||
quest_manager.npcfeature(feature, value);
|
||||
}
|
||||
|
||||
@ -2130,7 +2130,7 @@ void QuestManager::playertexture(int newtexture)
|
||||
initiator->SendIllusionPacket(initiator->GetRace(), 0xFF, newtexture);
|
||||
}
|
||||
|
||||
void QuestManager::playerfeature(char *feature, int setting)
|
||||
void QuestManager::playerfeature(const char* feature, int setting)
|
||||
{
|
||||
QuestManagerCurrentQuestVars();
|
||||
uint16 Race = initiator->GetRace();
|
||||
@ -2187,7 +2187,7 @@ void QuestManager::playerfeature(char *feature, int setting)
|
||||
DrakkinHeritage, DrakkinTattoo, DrakkinDetails, Size);
|
||||
}
|
||||
|
||||
void QuestManager::npcfeature(char *feature, int setting)
|
||||
void QuestManager::npcfeature(const char* feature, int setting)
|
||||
{
|
||||
QuestManagerCurrentQuestVars();
|
||||
uint16 Race = owner->GetRace();
|
||||
|
||||
@ -208,8 +208,8 @@ public:
|
||||
void playergender(int gender_id);
|
||||
void playersize(int newsize);
|
||||
void playertexture(int newtexture);
|
||||
void playerfeature(char *feature, int setting);
|
||||
void npcfeature(char *feature, int setting);
|
||||
void playerfeature(const char* feature, int setting);
|
||||
void npcfeature(const char* feature, int setting);
|
||||
void popup(const char *title, const char *text, uint32 popupid, uint32 buttons, uint32 Duration);
|
||||
void taskselector(const std::vector<int>& tasks, bool ignore_cooldown = false);
|
||||
void tasksetselector(int tasksettid, bool ignore_cooldown = false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user