]> icculus.org git repositories - divverent/darkplaces.git/commit
don't allocate a mempool or texture pool if a model file is not found (prevents build...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Jun 2006 09:49:36 +0000 (09:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Jun 2006 09:49:36 +0000 (09:49 +0000)
commit35fce96c42c1a80d39896bd79eb3205a0ebbdc82
tree109a05abacc50ac3ca1c2b729da911953d77a929
parent5f7174c01a9a4bfb33456e0b973955cd065863f7
don't allocate a mempool or texture pool if a model file is not found (prevents buildup of 'progs/beam.mdl' memory/texture pools if it is not found)
audited 'if mod->loaded' checks to be more sure about unloading models even if they failed to load

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6451 d7cf8633-e32d-0410-b094-e92efae38249
model_shared.c