Counter-Strike: Moved spriteframe() cache around, because FTE doesn't seem to want to execute it in this particular function... compiler bug?
This commit is contained in:
parent
aab8ff9572
commit
108da90299
2 changed files with 2 additions and 2 deletions
|
@ -127,6 +127,4 @@ Game_RendererRestarted(string rstr)
|
|||
FX_Spark_Init();
|
||||
FX_Impact_Init();
|
||||
FX_Smokenade_Init();
|
||||
|
||||
g_c4bombled_spr = spriteframe("sprites/ledglow.spr", 0, 0.0f);
|
||||
}
|
||||
|
|
|
@ -270,6 +270,8 @@ w_c4bomb_parse(void)
|
|||
item_c4 tm = (item_c4)self;
|
||||
spawnfunc_item_c4();
|
||||
|
||||
g_c4bombled_spr = spriteframe("sprites/ledglow.spr", 0, 0.0f);
|
||||
|
||||
tm.origin[0] = readcoord();
|
||||
tm.origin[1] = readcoord();
|
||||
tm.origin[2] = readcoord();
|
||||
|
|
Loading…
Reference in a new issue