mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +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
-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