diff options
| author | Atsutane <atsutane@freethoughts.de> | 2009-05-05 22:01:18 +0200 |
|---|---|---|
| committer | Atsutane <atsutane@freethoughts.de> | 2009-05-05 22:01:18 +0200 |
| commit | d75d701780fb6050153ac522d83706753eadc653 (patch) | |
| tree | 6ff592ea0a7e0cb02b0235d303a837955964c7cc /src/pong.c | |
| parent | b34388d74a2311aad19aa4ad6562acca2c96d1ba (diff) | |
| download | pong-d75d701780fb6050153ac522d83706753eadc653.tar.gz pong-d75d701780fb6050153ac522d83706753eadc653.tar.bz2 | |
game(): Fixed a major bug...if you name variables similar to functions reread your code twice before taking the next step...
Diffstat (limited to 'src/pong.c')
| -rw-r--r-- | src/pong.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -382,7 +382,7 @@ int game(void) { while ((gd->p1->score != 21) && (gd->p2->score != 21)) { - if (clocks > clocks + interval) { + if (clock() > clocks + interval) { if (p == 3) { /* Input Handling for P1 goes here. |
