mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Fix naming
This commit is contained in:
parent
1d5a307f42
commit
6293012d02
@ -565,21 +565,21 @@ void LegoPathActor::ParseAction(char* p_extra)
|
|||||||
strcpy(name, token);
|
strcpy(name, token);
|
||||||
|
|
||||||
token = strtok(NULL, g_parseExtraTokens);
|
token = strtok(NULL, g_parseExtraTokens);
|
||||||
MxS32 p_src = atoi(token);
|
MxS32 src = atoi(token);
|
||||||
|
|
||||||
token = strtok(NULL, g_parseExtraTokens);
|
token = strtok(NULL, g_parseExtraTokens);
|
||||||
float p_srcScale = atof(token);
|
float srcScale = atof(token);
|
||||||
|
|
||||||
token = strtok(NULL, g_parseExtraTokens);
|
token = strtok(NULL, g_parseExtraTokens);
|
||||||
MxS32 p_dest = atoi(token);
|
MxS32 dest = atoi(token);
|
||||||
|
|
||||||
token = strtok(NULL, g_parseExtraTokens);
|
token = strtok(NULL, g_parseExtraTokens);
|
||||||
float p_destScale = atof(token);
|
float destScale = atof(token);
|
||||||
|
|
||||||
LegoWorld* world = CurrentWorld();
|
LegoWorld* world = CurrentWorld();
|
||||||
|
|
||||||
if (world != NULL) {
|
if (world != NULL) {
|
||||||
world->PlaceActor(this, name, p_src, p_srcScale, p_dest, p_destScale);
|
world->PlaceActor(this, name, src, srcScale, dest, destScale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user