332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
player1.quadmillis = 0;
playsoundc(S_PUPOUT);
conoutf(@"quad damage is over");
}
}
void
putitems(uchar *&p) // puts items in network stream and also spawns them locally
{
[ents enumerateObjectsUsingBlock:^(Entity *e, size_t i, bool *stop) {
if ((e.type >= I_SHELLS && e.type <= I_QUAD) ||
e.type == CARROT) {
putint(p, i);
e.spawned = true;
}
|
|
|
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
player1.quadmillis = 0;
playsoundc(S_PUPOUT);
conoutf(@"quad damage is over");
}
}
void
putitems(uchar **p) // puts items in network stream and also spawns them locally
{
[ents enumerateObjectsUsingBlock:^(Entity *e, size_t i, bool *stop) {
if ((e.type >= I_SHELLS && e.type <= I_QUAD) ||
e.type == CARROT) {
putint(p, i);
e.spawned = true;
}
|