aboutsummaryrefslogtreecommitdiff
path: root/src/reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.cc')
-rw-r--r--src/reader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.cc b/src/reader.cc
index 09d739b..a29b35b 100644
--- a/src/reader.cc
+++ b/src/reader.cc
@@ -135,11 +135,11 @@ void ProcessLoadCharacterOrder(uint32 CharacterID){
break;
}
- if(Slot->Locked == GetGameThreadPID()){
+ if(Slot->Locked == GetGameThreadID()){
break;
}
- if(Slot->Locked == getpid()){
+ if(Slot->Locked == gettid()){
IncreasePlayerPoolSlotSticky(Slot);
ReleasePlayerPoolSlot(Slot);
CharacterReply(CharacterID);