Skip to content

Commit 3800286

Browse files
committed
whitespace fixes
1 parent b69fb11 commit 3800286

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/building-hacks.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,16 +343,16 @@ static void loadFrames(lua_State* L,workshop_hack_data& def,int stack_pos)
343343
luaL_checktype(L,stack_pos,LUA_TTABLE);
344344

345345
int frame_index = 1;
346-
346+
347347
while (lua_geti(L,stack_pos,frame_index) != LUA_TNIL) { //get frame[i]
348348
luaL_checktype(L,-1,LUA_TTABLE); //ensure that it's a table
349349
std::vector<graphic_tile> frame(max_idx);
350-
350+
351351
for (int idx = 0; idx < max_idx; idx++)
352352
{
353353
auto& t = frame[idx];
354354
lua_geti(L, -1, idx); //get tile at idx i.e. frame[i][idx] where idx=x+y*31
355-
355+
356356
if (lua_isnil(L, -1))//allow sparse indexing
357357
{
358358
lua_pop(L, 1); //pop current tile (nil in this case)

0 commit comments

Comments
 (0)