mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 13:21:10 +00:00
19 lines
230 B
R
19 lines
230 B
R
entity spawn (void) { return nil; }
|
|
.float f;
|
|
float time;
|
|
|
|
void foo (void)
|
|
{
|
|
local entity ent;
|
|
|
|
return;
|
|
if (!time) {
|
|
ent = spawn ();
|
|
ent.f = time + 0.1f;
|
|
}
|
|
}
|
|
|
|
int main ()
|
|
{
|
|
return 0; // if the test compiles, it passes.
|
|
}
|