From 81e521fb09d47cb4080b356bd77f5ca8bb5a244d Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 31 Jul 2009 09:57:06 +0000 Subject: [PATCH] fix compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9077 d7cf8633-e32d-0410-b094-e92efae38249 --- model_alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_alias.c b/model_alias.c index 17b85b15..77bbeb59 100644 --- a/model_alias.c +++ b/model_alias.c @@ -1997,7 +1997,7 @@ void Mod_DARKPLACESMODEL_Load(dp_model_t *mod, void *buffer, void *bufferend) loadmodel->numframes = pheader->num_frames; loadmodel->num_bones = pheader->num_bones; - loadmodel->num_poses = loadmodel->num_frames; + loadmodel->num_poses = loadmodel->numframes; loadmodel->nummodelsurfaces = loadmodel->num_surfaces = pheader->num_meshs; loadmodel->num_textures = loadmodel->num_surfaces * loadmodel->numskins; loadmodel->num_texturesperskin = loadmodel->num_surfaces; -- 2.39.2