waypoint cache fixes


git-svn-id: http://svn.code.sf.net/p/sauerbraten/code@5006 07af1644-1164-4067-b897-63bf4dc9b748
wpcache cleanups


git-svn-id: http://svn.code.sf.net/p/sauerbraten/code@5007 07af1644-1164-4067-b897-63bf4dc9b748
more wpcache cleanups


git-svn-id: http://svn.code.sf.net/p/sauerbraten/code@5008 07af1644-1164-4067-b897-63bf4dc9b748
empty wpcache fixes


git-svn-id: http://svn.code.sf.net/p/sauerbraten/code@5009 07af1644-1164-4067-b897-63bf4dc9b748