diff options
Diffstat (limited to 'src/tux.c')
| -rw-r--r-- | src/tux.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -395,7 +395,10 @@ void eventTuxIsDead(tux_t *tux) static void eventTuxIsDeadWIthShot(tux_t *tux, shot_t *shot) { - shot->author->score++; + if( shot->author != NULL && shot->author != tux ) + { + shot->author->score++; + } if( getNetTypeGame() == NET_GAME_TYPE_SERVER ) { |