… | |
… | |
110 | { |
110 | { |
111 | LOG (llevError | logBacktrace, "client::send_face (%d) out of bounds??\n", facenum); |
111 | LOG (llevError | logBacktrace, "client::send_face (%d) out of bounds??\n", facenum); |
112 | return; |
112 | return; |
113 | } |
113 | } |
114 | |
114 | |
115 | // refuse to send non-image faces |
115 | // refuse to send non-image faces unless requested |
116 | if (!fx_want [f->type]) |
116 | if (!fx_want [f->type]) |
117 | return; |
117 | return; |
118 | |
118 | |
119 | if (faces_sent [facenum]) |
119 | if (faces_sent [facenum]) |
120 | return; |
120 | return; |
121 | |
121 | |
122 | faces_sent[facenum] = true; |
122 | faces_sent [facenum] = true; |
123 | |
123 | |
124 | fxface.push_back (facenum); |
124 | fxface.push_back (facenum); |
125 | } |
125 | } |
126 | |
126 | |
127 | void client::flush_fx () |
127 | void client::flush_fx () |