Skip to content

Commit

Permalink
Fixed: When drawing Models whose skin is determined by cycling throug…
Browse files Browse the repository at this point in the history
…h a range would continue animating even when the client is paused. Now uses ddMapTime rather than gameTime as the former only advances when the client is not paused.
  • Loading branch information
danij committed Feb 2, 2009
1 parent 916e365 commit 6d6853d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/rend_model.c
Expand Up @@ -536,7 +536,7 @@ static void Mod_RenderSubModel(uint number, const rendmodelparams_t* params)
{
// What rule to use for determining the skin?
useSkin +=
(subFlags & MFF_IDSKIN ? params->id : SECONDS_TO_TICKS(gameTime) / mf->skinTics) % smf->skinRange;
(subFlags & MFF_IDSKIN ? params->id : SECONDS_TO_TICKS(ddMapTime) / mf->skinTics) % smf->skinRange;
}

// Scale interpos. Intermark becomes zero and endmark becomes one.
Expand Down

0 comments on commit 6d6853d

Please sign in to comment.