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:
Zed A. Shaw 2024-09-05 18:48:15 -04:00
parent 8d1570f44a
commit daf9a3cc07
8 changed files with 134 additions and 16 deletions

View file

@ -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;
}
}