Skip to content

Commit

Permalink
namespace TWBL
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed May 18, 2024
1 parent b8eb2dd commit 4a35b9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server/set_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
// has to be included by the server
// make sure character.h is included first

#include <server/set_state.h>
#include <shared/types.h>

namespace TWBL {

void SetState(const CCharacter *pChr, CServerBotStateIn *pState)
{
pState->m_PosX = pChr->m_Pos.x;
Expand All @@ -16,4 +17,6 @@ void SetState(const CCharacter *pChr, CServerBotStateIn *pState)
pState->m_VelY = pChr->Core()->m_Vel.y;
}

}

#endif

0 comments on commit 4a35b9a

Please sign in to comment.