Player now moves out of the way if he's blocking an entrance when an NPC enters. Also changed errors in unimplemented NPC actions to warnings

svn-id: r22731
This commit is contained in:
Paul Gilbert 2006-05-29 08:12:07 +00:00
parent 5d562eb3c5
commit 5fa3985bcb
7 changed files with 201 additions and 49 deletions

View file

@ -291,6 +291,11 @@ HotspotData::HotspotData(HotspotResource *rec) {
tickTimeout = READ_LE_UINT16(&rec->tickTimeout);
tickSequenceOffset = READ_LE_UINT16(&rec->tickSequenceOffset);
npcSchedule = READ_LE_UINT16(&rec->npcSchedule);
// Initialise dynamic fields
delayCtr = 0;
characterMode = CHARMODE_NONE;
coveredFlag = false;
}
// Hotspot override data