Show
Ignore:
Timestamp:
11/19/08 13:47:48 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject.
Add some missing script sql.

Original author: megamage
Date: 2008-11-12 16:21:08-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Object.h

    r207 r221  
    103103    float z; 
    104104    float o; 
    105     explicit WorldLocation(uint32 mapid = 0, float x = 0, float y = 0, float z = 0, float o = 0) 
    106         : mapid(mapid), x(x), y(y), z(z), o(o) {} 
     105    explicit WorldLocation(uint32 _mapid = 0, float _x = 0, float _y = 0, float _z = 0, float _o = 0) 
     106        : mapid(_mapid), x(_x), y(_y), z(_z), o(_o) {} 
    107107    WorldLocation(WorldLocation const &loc) 
    108108        : mapid(loc.mapid), x(loc.x), y(loc.y), z(loc.z), o(loc.o) {} 
     
    139139        const ByteBuffer& GetPackGUID() const { return m_PackGUID; } 
    140140        uint32 GetEntry() const { return GetUInt32Value(OBJECT_FIELD_ENTRY); } 
     141        void SetEntry(uint32 entry) { SetUInt32Value(OBJECT_FIELD_ENTRY, entry); } 
    141142 
    142143        uint8 GetTypeId() const { return m_objectTypeId; }