Get the build fail to actually play and keep the building sound looping until the build is done.
This commit is contained in:
parent
2035a6dd00
commit
95cd84b09d
8 changed files with 8 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue