diff options
Diffstat (limited to 'engines/pegasus')
-rwxr-xr-x | engines/pegasus/neighborhood/spot.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/pegasus/neighborhood/spot.h b/engines/pegasus/neighborhood/spot.h index 5d8f1504d6..38cc81d581 100755 --- a/engines/pegasus/neighborhood/spot.h +++ b/engines/pegasus/neighborhood/spot.h @@ -67,7 +67,15 @@ public: struct Entry { Entry() { clear(); } bool isEmpty() { return movieStart == 0xffffffff; } - void clear() { movieStart = 0xffffffff; } + void clear() { + room = kNoRoomID; + direction = kNoDirection; + srcFlags = kNoSpotFlags; + altCode = kNoAlternateID; + movieStart = 0xffffffff; + movieEnd = 0xffffffff; + dstFlags = kNoSpotFlags; + } tRoomID room; tDirectionConstant direction; |