tests for if (simple expression)

This commit is contained in:
Bill Currie 2001-07-24 22:29:16 +00:00
parent d12a0a930d
commit 07fbe47294

View file

@ -77,12 +77,14 @@ float (float baz) test_int =
entity sent; entity sent;
void () eek = void () eek =
{ {
local string bop = "";
traceon(); traceon();
if (sent && sent.owner != self ) if (sent && sent.owner != self )
self.origin = '0 0 0'; self.origin = '0 0 0';
self.origin = self.origin + '1 2 3'; self.origin = self.origin + '1 2 3';
test_int (1); test_int (1);
traceoff(); if (bop)
traceoff();
}; };
void () assign = void () assign =