mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-22 08:50:48 +00:00
some fixes
This commit is contained in:
parent
b7a53555ca
commit
fd844d0416
1 changed files with 5 additions and 3 deletions
|
@ -22,13 +22,15 @@ EG "WP_5 | WP_14" etc
|
|||
(Don't forget the spaces!)
|
||||
*/
|
||||
void Use_Target_Give( gentity_t *ent, gentity_t *other, gentity_t *activator ) {
|
||||
int i;
|
||||
playerState_t *ps = &activator->client->ps;
|
||||
unsigned i;
|
||||
playerState_t* ps;
|
||||
|
||||
if ( !activator || !activator->client ) {
|
||||
if ( activator == NULL || activator->client == NULL ) {
|
||||
return;
|
||||
}
|
||||
|
||||
ps = &activator->client->ps;
|
||||
|
||||
for ( i=0; i < MAX_WEAPONS; i++ )
|
||||
{
|
||||
if ( (unsigned int)(ent->s.time) & (1 << i) )
|
||||
|
|
Loading…
Reference in a new issue