diff options
-rw-r--r-- | src/background.c | 2 | ||||
-rw-r--r-- | src/spike.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/background.c b/src/background.c index c3b7e62..03730e8 100644 --- a/src/background.c +++ b/src/background.c @@ -2,7 +2,7 @@ #include "cfg.h" #include "rotrect.h" -static long tick = 0; +long tick = 0; static void draw_square(double size, double angle) diff --git a/src/spike.c b/src/spike.c index 4d9ce87..4fb7a47 100644 --- a/src/spike.c +++ b/src/spike.c @@ -1,10 +1,11 @@ #include "entityimpl.h" +extern long tick; + IMPL_UPDATE() { } IMPL_END IMPL_DRAW() { - } IMPL_END IMPL_INIT(spike) { |