From aae328e272cdec136a1367cf83a5873a6b4963a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 14:33:00 +0300 Subject: Fix compilation errors with stlport. --- src/net/tmwa/charserverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index e8c9dfaff..039010535 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -180,7 +180,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, PlayerInfoBackend &data = character->data; data.mAttributes[PlayerInfo::EXP] = msg.readInt32(); data.mAttributes[PlayerInfo::MONEY] = msg.readInt32(); - Stat &jobStat = data.mStats[JOB]; + Stat &jobStat = data.mStats[static_cast(JOB)]; jobStat.exp = msg.readInt32(); const int temp = msg.readInt32(); -- cgit v1.2.3-70-g09d2