]> git.xonotic.org Git - xonotic/netradiant.git/commit
q3map2: Small cleanups
authorLauri Kasanen <curaga@operamail.com>
Sat, 3 Mar 2012 10:51:20 +0000 (12:51 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 3 Mar 2012 16:28:34 +0000 (17:28 +0100)
commit123f3fd9626db9c1f6e84b1a72e73abfa8019a85
treeb320f8a4c99076e8cbbc68165607b82c51096e03
parent053ca4041b3fe0f69bd325df7fd3c20446351e19
q3map2: Small cleanups

Move one variable to the section it is used in, and remove one unnecessary
NULL check.

If si were NULL at that point, we would have segfaulted ages ago.

Signed-off-by: Lauri Kasanen <curaga@operamail.com>
tools/quake3/q3map2/surface.c