mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 23:17:16 +00:00
Fix for special atk sql missing a type.
Fix for a crash in quest manager setanim. Fix for pfs_list not compiling on x64 windows.
This commit is contained in:
1 parent
926e2f7939
commit
406e2f84eb
3 files changed
+2
-2
No files matched your search
+1
-1
@@ -1631,7 +1631,7 @@ void QuestManager::disable_proximity_say() {
|
||||
void QuestManager::setanim(int npc_type, int animnum) {
|
||||
//adds appearance changes
|
||||
Mob* thenpc = entity_list.GetMobByNpcTypeID(npc_type);
|
||||
if(animnum < 0 || animnum >= _eaMaxAppearance)
|
||||
if(!thenpc || animnum < 0 || animnum >= _eaMaxAppearance)
|
||||
return;
|
||||
thenpc->SetAppearance(EmuAppearance(animnum));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user