mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-28 15:13:11 +00:00
Fixed Lua Setters for apos1 and apos2.
This commit is contained in:
parent
b968dcbd47
commit
b3067d177f
1 changed files with 2 additions and 4 deletions
|
@ -913,8 +913,7 @@ static int Entity_SetApos1(lua_State *L) {
|
|||
if(!lent || lent->e)
|
||||
return 1;
|
||||
vec = Lua_GetVector(L, 2);
|
||||
if(!vec)
|
||||
return 1;
|
||||
|
||||
VectorCopy(vec, lent->e->apos1);
|
||||
|
||||
return 1;
|
||||
|
@ -928,8 +927,7 @@ static int Entity_SetApos2(lua_State *L) {
|
|||
if(!lent || lent->e)
|
||||
return 1;
|
||||
vec = Lua_GetVector(L, 2);
|
||||
if(!vec)
|
||||
return 1;
|
||||
|
||||
VectorCopy(vec, lent->e->apos2);
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue