mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-26 21:13:51 +00:00
Fix CI build: avoid missing GameHandler interaction-cast API
This commit is contained in:
parent
19525067cf
commit
630c877830
1 changed files with 1 additions and 1 deletions
|
|
@ -3818,7 +3818,7 @@ void GameScreen::renderCastBar(game::GameHandler& gameHandler) {
|
||||||
|
|
||||||
char overlay[64];
|
char overlay[64];
|
||||||
uint32_t currentSpellId = gameHandler.getCurrentCastSpellId();
|
uint32_t currentSpellId = gameHandler.getCurrentCastSpellId();
|
||||||
if (gameHandler.isGameObjectInteractionCasting()) {
|
if (gameHandler.getCurrentCastSpellId() == 0) {
|
||||||
snprintf(overlay, sizeof(overlay), "Opening... (%.1fs)", gameHandler.getCastTimeRemaining());
|
snprintf(overlay, sizeof(overlay), "Opening... (%.1fs)", gameHandler.getCastTimeRemaining());
|
||||||
} else {
|
} else {
|
||||||
const std::string& spellName = gameHandler.getSpellName(currentSpellId);
|
const std::string& spellName = gameHandler.getSpellName(currentSpellId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue