Skip to content

Commit

Permalink
Tabs -> Spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorms committed Apr 26, 2010
1 parent ef96db6 commit 31cc6f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MTA10/mods/shared_logic/lua/CLuaFunctionDefs.Ped.cpp
Expand Up @@ -1271,15 +1271,15 @@ int CLuaFunctionDefs::SetPedLookAt ( lua_State* luaVM )
vecPosition.fY = static_cast < float > ( lua_tonumber ( luaVM, 3 ) );
vecPosition.fZ = static_cast < float > ( lua_tonumber ( luaVM, 4 ) );
int iTime = 3000;
int iBlend = 1000;
CClientEntity * pTarget = NULL;
int iBlend = 1000;
CClientEntity * pTarget = NULL;

int iArgument5 = lua_type ( luaVM, 5 );
int iArgument6 = lua_type ( luaVM, 6 );
int iArgument6 = lua_type ( luaVM, 6 );
if ( iArgument5 == LUA_TNUMBER || iArgument5 == LUA_TSTRING )
{
iTime = static_cast < int > ( lua_tonumber ( luaVM, 5 ) );
iBlend = static_cast < int > ( lua_tonumber ( luaVM, 6 ) );
iBlend = static_cast < int > ( lua_tonumber ( luaVM, 6 ) );

if ( lua_type ( luaVM, 7 ) == LUA_TLIGHTUSERDATA )
pTarget = lua_toelement ( luaVM, 7 );
Expand Down

0 comments on commit 31cc6f8

Please sign in to comment.