diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-28 20:55:36 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-28 20:55:36 +0000 |
| commit | b4db5fe1a7c0145c2437cb2f117a2ae59d4e8025 (patch) | |
| tree | c776e1dfa7d3f191cb02dcb54eb2acd7497d1e64 /src/item.c | |
| parent | ca324c005d511752b2bcdc21fdc7d6c46597469b (diff) | |
- oprava chyby, program sa zruti ak pri hre kde hraju na jednom PC dvaja
hraci zoberiete nejaku vec
git-svn-id: http://opensvn.csie.org/tuxanci_ng@37 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/item.c')
| -rw-r--r-- | src/item.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -536,7 +536,10 @@ void eventGiveTuxListItem(tux_t *tux, list_t *listItem) if( conflictSpace(x, y, w, h, thisItem->x, thisItem->y, thisItem->w, thisItem->h) ) { - proto_send_item_server(PROTO_SEND_ALL, NULL, tux, thisItem); + if( getNetTypeGame() == NET_GAME_TYPE_SERVER ) + { + proto_send_item_server(PROTO_SEND_ALL, NULL, tux, thisItem); + } if( eventGiveTuxItem(tux, listItem, thisItem) >= 0 ) { |