classic lat forgot whitespaces meme

This commit is contained in:
Latapostrophe 2018-11-26 21:24:57 +01:00
parent 69b5efa71c
commit 2fdf91adb7
2 changed files with 5 additions and 5 deletions

View file

@ -1883,10 +1883,10 @@ void K_SpinPlayer(player_t *player, mobj_t *source, INT32 type, boolean trapitem
return; return;
} }
} }
if (LUAh_MobjDamage(player->mo, inflictor, source, 1)) if (LUAh_MobjDamage(player->mo, inflictor, source, 1))
return; return;
if (source && source != player->mo && source->player) if (source && source != player->mo && source->player)
K_PlayHitEmSound(source); K_PlayHitEmSound(source);
@ -2088,10 +2088,10 @@ void K_ExplodePlayer(player_t *player, mobj_t *source, mobj_t *inflictor) // A b
return; return;
} }
} }
if (LUAh_MobjDamage(player->mo, inflictor, source, 1)) if (LUAh_MobjDamage(player->mo, inflictor, source, 1))
return; return;
if (source && source != player->mo && source->player) if (source && source != player->mo && source->player)
K_PlayHitEmSound(source); K_PlayHitEmSound(source);

View file

@ -2251,7 +2251,7 @@ static int lib_kSpawnKartExplosion(lua_State *L)
fixed_t x = luaL_checkfixed(L, 1); fixed_t x = luaL_checkfixed(L, 1);
fixed_t y = luaL_checkfixed(L, 2); fixed_t y = luaL_checkfixed(L, 2);
fixed_t z = luaL_checkfixed(L, 3); fixed_t z = luaL_checkfixed(L, 3);
fixed_t radius = (fixed_t)luaL_optinteger(L, 4, 32*FRACUNIT); fixed_t radius = (fixed_t)luaL_optinteger(L, 4, 32*FRACUNIT);
INT32 number = (INT32)luaL_optinteger(L, 5, 32); INT32 number = (INT32)luaL_optinteger(L, 5, 32);
mobjtype_t type = luaL_optinteger(L, 6, MT_MINEEXPLOSION); mobjtype_t type = luaL_optinteger(L, 6, MT_MINEEXPLOSION);
angle_t rotangle = luaL_optinteger(L, 7, 0); angle_t rotangle = luaL_optinteger(L, 7, 0);