Synced to Twilight's stuff

This commit is contained in:
David Anderson
2005-08-25 07:12:52 +00:00
parent a17b879380
commit b271b01b13
6 changed files with 210 additions and 68 deletions

View File

@ -97,6 +97,7 @@ void Client_ClipInfo(void* mValue)
void Client_TSHealth_End(void* mValue)
{
edict_t *enemy = mPlayer->pEdict->v.dmg_inflictor;
int damage = (int)mPlayer->pEdict->v.dmg_take;
@ -227,6 +228,15 @@ void Client_TSHealth_End(void* mValue)
pAttacker->killFlags = killFlags;
}
void Client_TSState(void* mValue)
{
mPlayer->oldstate = mPlayer->state;
mPlayer->checkstate = 1;
mPlayer->state = *(int*)mValue;
}
void Client_WStatus(void* mValue)
{
switch(mState++)
@ -240,11 +250,6 @@ void Client_WStatus(void* mValue)
}
}
void Client_TSSpace(void* mValue)
{
mPlayer->space = *(int*)mValue;
}
void Client_PwUp(void* mValue)
{
static int iPwType;