Clear "Best:" line before redrawing the hit feed; clear last column of the hit feed
This commit is contained in:
@@ -393,8 +393,8 @@ int readRandomLine(char *file, char *result) {
|
||||
|
||||
void trollHitScreen(game_state *gs, hitfeed *hf, int hits) {
|
||||
if (gs->trollEnabled) {
|
||||
char *strings[] = {"Double Hit", "Triple Hit", "Multi Hit", \
|
||||
"Ultra Hit", "Monster Hit", "Rampage", \
|
||||
char *strings[] = {"Double Hit", "Triple Hit", "Multi Hit",
|
||||
"Ultra Hit", "Monster Hit", "Rampage",
|
||||
"Unstoppable", "Wicked sick", "Godlike"};
|
||||
int selection[] = {2, 3, 4, 5, 6, 7, 8, 9, 10};
|
||||
int i, found = 0;
|
||||
@@ -439,8 +439,8 @@ void printHitFeed(game_state *gs, hitfeed *hf) {
|
||||
int newMaxy = gs->maxy - HITFEEDSLOTS;
|
||||
int newMaxx = gs->maxx - (gs->centerx / 2);
|
||||
int i, z;
|
||||
for (i = 0; i < HITFEEDSLOTS; i++) {
|
||||
for (z = 0; z < gs->maxx - newMaxx; z++) {
|
||||
for (i = -1; i < HITFEEDSLOTS; i++) {
|
||||
for (z = 0; z <= gs->maxx - newMaxx; z++) {
|
||||
mvprintw(newMaxy + i, newMaxx + z, " ");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user