Get the build fail to actually play and keep the building sound looping until the build is done.

This commit is contained in:
Zed A. Shaw 2024-09-16 17:24:02 -04:00
parent 2035a6dd00
commit 95cd84b09d
8 changed files with 8 additions and 9 deletions

View file

@ -3,6 +3,7 @@
#include <iostream>
#include <fmt/core.h>
#include <fmt/color.h>
#define FSM_DEBUG 1
#include "game_engine.hpp"
#include <cassert>
#include "dbc.hpp"
@ -14,7 +15,7 @@ using namespace std;
GameEngine::GameEngine(int hp) : starting_hp(hp) {
hit_points = max_hp();
};
}
int GameEngine::determine_damage(string &type) {
try {