Skip to content

Commit

Permalink
Apply the #1595 change to code from #1581
Browse files Browse the repository at this point in the history
  • Loading branch information
sprunk authored and lhog committed Oct 9, 2024
1 parent 342d7ef commit 1de523d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Lua/LuaWeaponDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ static int NoGroundCollide(lua_State* L, const void* data)
static int FramesToSeconds(lua_State* L, const void* data)
{
const auto frames = *reinterpret_cast <const int *> (data);
lua_pushnumber(L, frames / float(GAME_SPEED));
lua_pushnumber(L, frames * INV_GAME_SPEED);
return 1;
}

Expand Down

0 comments on commit 1de523d

Please sign in to comment.