mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Change to how quest signals work
This commit is contained in:
parent
87994ebfba
commit
635d28cd65
@ -2,6 +2,7 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||
-------------------------------------------------------
|
||||
== 04/20/2014 ==
|
||||
Secrets: Changed the functionality of EQDEBUG cmake flag. It now suppresses logs, but shows crashes in any scenario when set to 1. It will also now show crashes even if the log system is disabled.
|
||||
KLS: Change to how signals work, signals with no delay will now be added to the signal queue. This addresses an odd timing issue where NPCs are in a state of life/death flux when a signal from event_death goes off.
|
||||
|
||||
== 04/18/2014 ==
|
||||
Akkadius: Added #command error message suppression for those who don't want to see 'Command is not recognized' constantly
|
||||
|
||||
@ -1277,16 +1277,9 @@ void QuestManager::signalwith(int npc_id, int signal_id, int wait_ms) {
|
||||
if(wait_ms > 0) {
|
||||
STimerList.push_back(SignalTimer(wait_ms, npc_id, signal_id));
|
||||
return;
|
||||
}
|
||||
|
||||
if (npc_id<1)
|
||||
{
|
||||
printf("signal() bad npcid=%i\n",npc_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
//initiator* signalnpc=0;
|
||||
entity_list.SignalMobsByNPCID(npc_id, signal_id);
|
||||
} else {
|
||||
STimerList.push_back(SignalTimer(0, npc_id, signal_id));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user