Fixed up dbc.cpp so now just use it everywhere. I next need to find a way to pass that to format automatically.
This commit is contained in:
parent
2baa044695
commit
a6d83db20c
10 changed files with 25 additions and 21 deletions
|
@ -15,7 +15,9 @@ namespace components {
|
|||
}
|
||||
|
||||
bool Inventory::has_item(size_t at) {
|
||||
fmt::println(">>> INVENTORY: requesting item at {}, have {} items in stock", at, items.size());
|
||||
dbc::log(
|
||||
fmt::format("requesting item at {}, have {} items in stock",
|
||||
at, items.size()));
|
||||
return at < items.size();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue