corrected colors

This commit is contained in:
2024-07-13 15:43:21 -04:00
parent 3ae82841f4
commit ccf6dd0582
7 changed files with 7 additions and 15 deletions

View File

@ -41,6 +41,6 @@ potion &potion::operator=(potion &&p) {
return *this;
}
void potion::print(display *out, bool color) {
out->print_char(pos, 'P');
void potion::print(display *out) {
out->print_char(pos, 'P', COLOR_PAIR(COLOR_GREEN));
}