Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
@@ -11,7 +11,7 @@ class RespawnPacket : public Packet, public enable_shared_from_this<RespawnPacke
|
||||
public:
|
||||
char dimension;
|
||||
char difficulty;
|
||||
__int64 mapSeed;
|
||||
int64_t mapSeed;
|
||||
int mapHeight;
|
||||
GameType *playerGameType;
|
||||
bool m_newSeaLevel; // 4J added
|
||||
@@ -21,7 +21,7 @@ public:
|
||||
int m_hellScale; // 4J Added
|
||||
|
||||
RespawnPacket();
|
||||
RespawnPacket(char dimension, __int64 mapSeed, int mapHeight, GameType *playerGameType, char difficulty, LevelType *pLevelType, bool newSeaLevel, int newEntityId, int xzSize, int hellScale);
|
||||
RespawnPacket(char dimension, int64_t mapSeed, int mapHeight, GameType *playerGameType, char difficulty, LevelType *pLevelType, bool newSeaLevel, int newEntityId, int xzSize, int hellScale);
|
||||
|
||||
virtual void handle(PacketListener *listener);
|
||||
virtual void read(DataInputStream *dis);
|
||||
|
||||
Reference in New Issue
Block a user