Coroutines are mostly working but they're kind of junk anyway. Feel free to tinker with this if you like.
This commit is contained in:
parent
8d1570f44a
commit
daf9a3cc07
8 changed files with 134 additions and 16 deletions
|
@ -19,7 +19,7 @@ int GameEngine::determine_damage(string &type) {
|
|||
return damage_types.at(type);
|
||||
} catch(std::out_of_range &err) {
|
||||
print(ERROR, "BAD DAMAGE TYPE {}\n", type);
|
||||
return 1000;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue