aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/g_items.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/g_items.c')
-rw-r--r--code/game/g_items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/g_items.c b/code/game/g_items.c
index fd75412..1222fbd 100644
--- a/code/game/g_items.c
+++ b/code/game/g_items.c
@@ -542,7 +542,7 @@ void Touch_Item (gentity_t *ent, gentity_t *other, trace_t *trace) {
// events such as ctf flags
if ( respawn <= 0 ) {
ent->nextthink = 0;
- ent->think = NULL;
+ ent->think = 0;
} else {
ent->nextthink = level.time + respawn * 1000;
ent->think = RespawnItem;