Fix a progress stopper in xware.bsp

This commit is contained in:
Yamagi Burmeister 2013-06-15 16:16:27 +02:00
parent fc5760bf99
commit d5d771d373
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,6 @@
The reckoning 2.00 to 2.01:
- Fix a progress stopper in xware.bsp
The Reckoning 2.00RC to 2.00:
- Updates to the opened inventory screen
were fixed. (By svdijk, merged from

View file

@ -266,9 +266,10 @@ SP_trigger_once(edict_t *ent)
* it can only be fired by other events.
*/
void
trigger_relay_use(edict_t *self, edict_t *other /* unused */, edict_t *activator)
trigger_relay_use(edict_t *self, edict_t *other /* unused */,
edict_t *activator /* may be NULL */)
{
if (!self || !activator)
if (!self)
{
return;
}

View file

@ -179,11 +179,11 @@ Think_Delay(edict_t *ent)
* match (string)self.target and call their .use function
*/
void
G_UseTargets(edict_t *ent, edict_t *activator)
G_UseTargets(edict_t *ent, edict_t *activator /* may be NULL */)
{
edict_t *t;
if (!ent || !activator)
if (!ent)
{
return;
}