Fixed Lua Setters for apos1 and apos2.

This commit is contained in:
UberGames 2011-07-28 13:27:10 +02:00
parent b968dcbd47
commit b3067d177f

View file

@ -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;