light: trivial variable rename
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
599742310b
commit
854c7b4bb9
|
|
@ -102,11 +102,10 @@ MatchTargets(void)
|
|||
|
||||
/* set the style on the source ent for switchable lights */
|
||||
if (entities[j].style) {
|
||||
char s[16];
|
||||
|
||||
char style[16];
|
||||
entities[i].style = entities[j].style;
|
||||
sprintf(s, "%i", entities[i].style);
|
||||
SetKeyValue(&entities[i], "style", s);
|
||||
snprintf(style, sizeof(style), "%i", entities[i].style);
|
||||
SetKeyValue(&entities[i], "style", style);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue