ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/object.C
(Generate patch)

Comparing deliantra/server/common/object.C (file contents):
Revision 1.271 by root, Sat Dec 27 04:07:44 2008 UTC vs.
Revision 1.273 by root, Sat Dec 27 04:15:56 2008 UTC

32#include <bitset> 32#include <bitset>
33 33
34UUID UUID::cur; 34UUID UUID::cur;
35static uint64_t seq_next_save; 35static uint64_t seq_next_save;
36static const uint64 UUID_GAP = 1<<19; 36static const uint64 UUID_GAP = 1<<19;
37uint32_t mapspace::smellcount; 37uint32_t mapspace::smellcount = 10000;
38 38
39objectvec objects; 39objectvec objects;
40activevec actives; 40activevec actives;
41 41
42short freearr_x[SIZEOFFREE] = { 42short freearr_x[SIZEOFFREE] = {
1097 1097
1098 if (object *pl = ms.player ()) 1098 if (object *pl = ms.player ())
1099 { 1099 {
1100 if (is_player ()) 1100 if (is_player ())
1101 { 1101 {
1102 if (!flag [FLAG_WIZPASS])
1102 ms.smell = ++mapspace::smellcount; // remember the smell of the player 1103 ms.smell = ++mapspace::smellcount; // remember the smell of the player
1103 1104
1104 // leaving a spot always closes any open container on the ground 1105 // leaving a spot always closes any open container on the ground
1105 if (container && !container->env) 1106 if (container && !container->env)
1106 // this causes spurious floorbox updates, but it ensures 1107 // this causes spurious floorbox updates, but it ensures
1107 // that the CLOSE event is being sent. 1108 // that the CLOSE event is being sent.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines