fix gui
parent
7a01776f87
commit
068030ecea
|
@ -197,7 +197,8 @@ void Shooter::update() {
|
||||||
if (SoundController::getStatus(SoundTag("background")) != sf::Sound::Status::Playing) {
|
if (SoundController::getStatus(SoundTag("background")) != sf::Sound::Status::Playing) {
|
||||||
SoundController::loadAndPlay(SoundTag("background"), ShooterConsts::BACK_NOISE);
|
SoundController::loadAndPlay(SoundTag("background"), ShooterConsts::BACK_NOISE);
|
||||||
}
|
}
|
||||||
drawChat();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Shooter::drawChat() {
|
void Shooter::drawChat() {
|
||||||
|
@ -222,6 +223,7 @@ void Shooter::gui() {
|
||||||
// health player stats
|
// health player stats
|
||||||
drawPlayerStats();
|
drawPlayerStats();
|
||||||
drawStatsTable();
|
drawStatsTable();
|
||||||
|
drawChat();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Shooter::drawStatsTable() {
|
void Shooter::drawStatsTable() {
|
||||||
|
|
Loading…
Reference in New Issue