player/Thread: move player_command_finished() to PlayerControl
This commit is contained in:
@@ -263,6 +263,12 @@ struct PlayerControl {
|
||||
ClientSignal();
|
||||
}
|
||||
|
||||
void LockCommandFinished() {
|
||||
Lock();
|
||||
CommandFinished();
|
||||
Unlock();
|
||||
}
|
||||
|
||||
private:
|
||||
/**
|
||||
* Wait for the command to be finished by the player thread.
|
||||
|
Reference in New Issue
Block a user