diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-18 15:59:56 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-18 15:59:56 +0000 |
| commit | 11239bc45b51f9cc9eaec8272e58a0dea0e10b93 (patch) | |
| tree | b326f1e9f0a7e7be456da7abd28fb28083efe2b5 /src/tux.c | |
| parent | 42f5cf229efa2b20c642c7c0d7a2f3cd98b9a890 (diff) | |
- drobne upravy v suboroch, hlavne v scriptoch
git-svn-id: http://opensvn.csie.org/tuxanci_ng@26 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
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 ) { |