Browse Source

Added additional eq2emu revision for localtime bug in EQPacket

https://svn.eq2emulator.net/!/#eq2server/commit/r2853/head/trunk
Image 4 năm trước cách đây
mục cha
commit
412cb69401
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      EQ2/source/common/EQPacket.h

+ 1 - 1
EQ2/source/common/EQPacket.h

@@ -80,7 +80,7 @@ protected:
 
 	EQPacket(const uint16 op, const unsigned char *buf, const uint32 len);
 	EQPacket(const EQPacket &p) { version = 0; }
-	EQPacket() { opcode=0; pBuffer=NULL; size=0; version = 0;}
+	EQPacket() { opcode=0; pBuffer=NULL; size=0; version = 0; setTimeInfo(0, 0); }
 
 };