mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: gl: do not deadname LadyHavoc
This commit is contained in:
@@ -111,7 +111,7 @@ static float R_GetSpriteFrameInterpolant( cl_entity_t *ent, mspriteframe_t **old
|
|||||||
// are positive, so we don't have to worry about division by zero
|
// are positive, so we don't have to worry about division by zero
|
||||||
float targettime = time - ((int)(time / fullinterval)) * fullinterval;
|
float targettime = time - ((int)(time / fullinterval)) * fullinterval;
|
||||||
|
|
||||||
// LordHavoc: since I can't measure the time properly when it loops from numframes - 1 to 0,
|
// LadyHavoc: since I can't measure the time properly when it loops from numframes - 1 to 0,
|
||||||
// i instead measure the time of the first frame, hoping it is consistent
|
// i instead measure the time of the first frame, hoping it is consistent
|
||||||
int i, j;
|
int i, j;
|
||||||
for( i = 0, j = numframes - 1; i < (numframes - 1); i++ )
|
for( i = 0, j = numframes - 1; i < (numframes - 1); i++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user