Skip to content

Commit

Permalink
modified: include/utils.h
Browse files Browse the repository at this point in the history
	modified:   src/graphics.c
  • Loading branch information
ariannagavioli committed Jan 8, 2019
1 parent 1bfdc0b commit 29380e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#define WHITE 15

/** MAX CARS ALLOWED **/
#define MAX_CARS 30
#define MAX_CARS 10

/** CAR LIGHTS **/
#define CAR_RUNNING 14
Expand Down
4 changes: 2 additions & 2 deletions src/graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ void drawNDmiss(){
char s[4];
int color;

rectfill(screen, (N_BLOCKS_X*BLOCK_W + (N_BLOCKS_X+ 1)*STREET_W) + 50, 157,
(N_BLOCKS_X*BLOCK_W + (N_BLOCKS_X+ 1)*STREET_W) + 70, 170, STAT_BG);
rectfill(screen, (N_BLOCKS_X*BLOCK_W + (N_BLOCKS_X+ 1)*STREET_W) + 40, 157,
(N_BLOCKS_X*BLOCK_W + (N_BLOCKS_X+ 1)*STREET_W) + 80, 170, STAT_BG);

/* Critical section on the shared var deadline_misses */
pthread_mutex_lock(&dmiss_lock);
Expand Down

0 comments on commit 29380e1

Please sign in to comment.