Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/game_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ void Game_Screen::FlashOnce(int r, int g, int b, int s, int frames) {
data.flash_time_left = frames;
data.flash_continuous = false;
flash_period = 0;

GMI().ApplyFlash(r, g, b, s, frames);
}

void Game_Screen::FlashBegin(int r, int g, int b, int s, int frames) {
Expand Down
7 changes: 0 additions & 7 deletions src/multiplayer/game_multiplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,13 +738,6 @@ void Game_Multiplayer::ApplyPlayerBattleAnimUpdates() {
}
}

void Game_Multiplayer::ApplyFlash(int r, int g, int b, int power, int frames) {
for (auto& p : players) {
p.second.ch->Flash(r, g, b, power, frames);
p.second.chat_name->SetFlashFramesLeft(frames);
}
}

void Game_Multiplayer::ApplyRepeatingFlashes() {
for (auto& rf : repeating_flashes) {
if (players.find(rf.first) != players.end()) {
Expand Down
1 change: 0 additions & 1 deletion src/multiplayer/game_multiplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class Game_Multiplayer {
bool IsBattleAnimSynced(int anim_id);
void PlayerBattleAnimShown(int anim_id);
void ApplyPlayerBattleAnimUpdates();
void ApplyFlash(int r, int g, int b, int power, int frames);
void ApplyRepeatingFlashes();
void ApplyTone(Tone tone);
void ApplyScreenTone();
Expand Down
Loading