tick is global now

This commit is contained in:
kdx 2023-03-19 01:29:17 +01:00
parent b859924fe6
commit 56d1c26ede
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -1,10 +1,11 @@
#include "entityimpl.h"
extern long tick;
IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
} IMPL_END
IMPL_INIT(spike) {