mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-22 23:06:18 +00:00
Fixed: #864 Server crash on character create when compile on win without stlport
This commit is contained in:
parent
b40853c58b
commit
203758e577
1 changed files with 2 additions and 1 deletions
|
@ -321,7 +321,8 @@ static void prepareCharacterPositionForStore ( COfflineEntityState & state, cons
|
||||||
H_AUTO(CCharacterStore);\
|
H_AUTO(CCharacterStore);\
|
||||||
CFameManager::getInstance().savePlayerFame(_Id, const_cast<EGSPD::CFameContainerPD &>(*_Fames));\
|
CFameManager::getInstance().savePlayerFame(_Id, const_cast<EGSPD::CFameContainerPD &>(*_Fames));\
|
||||||
/* Update the current playing session duration */ \
|
/* Update the current playing session duration */ \
|
||||||
_LastLogStats.begin()->Duration = CTime::getSecondsSince1970() - _LastLogStats.begin()->LoginTime;\
|
if (_LastLogStats.size() > 0) _LastLogStats.begin()->Duration = CTime::getSecondsSince1970() - _LastLogStats.begin()->LoginTime; \
|
||||||
|
else nlwarning("Cannot update play session duration, _LastLogStats is empty, new character?"); \
|
||||||
\
|
\
|
||||||
/* Unless the top of the position stack is locked, */ \
|
/* Unless the top of the position stack is locked, */ \
|
||||||
/* update the stored position stack with the current position */ \
|
/* update the stored position stack with the current position */ \
|
||||||
|
|
Loading…
Reference in a new issue