diff options
author | Paul Gilbert | 2006-05-29 08:12:07 +0000 |
---|---|---|
committer | Paul Gilbert | 2006-05-29 08:12:07 +0000 |
commit | 5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03 (patch) | |
tree | f430e8398c3adef77ba6b09540839e9ba3ffef7d /engines/lure/res_struct.cpp | |
parent | 5d562eb3c588345b93f8c21a3f076a02bbe5a454 (diff) | |
download | scummvm-rg350-5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03.tar.gz scummvm-rg350-5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03.tar.bz2 scummvm-rg350-5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03.zip |
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
Diffstat (limited to 'engines/lure/res_struct.cpp')
-rw-r--r-- | engines/lure/res_struct.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index 807aeebb24..7ecee018c1 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -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 |