2013-09-29 00:21:18 +04:00
|
|
|
/* j/6/gain.c
|
|
|
|
**
|
|
|
|
** This file is in the public domain.
|
|
|
|
*/
|
|
|
|
#include "all.h"
|
2014-09-04 07:10:43 +04:00
|
|
|
|
2013-09-29 00:21:18 +04:00
|
|
|
|
2014-09-06 00:13:24 +04:00
|
|
|
u3_noun
|
2014-10-09 02:16:24 +04:00
|
|
|
u3_cqfu_gain(u3_noun van, u3_noun sut, u3_noun gen)
|
2013-09-29 00:21:18 +04:00
|
|
|
{
|
2014-09-06 00:13:24 +04:00
|
|
|
u3_noun von = u3_ci_molt(u3k(van), u3_cv_sam, u3k(sut), 0);
|
|
|
|
u3_noun gat = u3_cj_hook(u3k(von), "gain");
|
2014-09-02 04:10:04 +04:00
|
|
|
|
2014-10-09 06:20:57 +04:00
|
|
|
return u3_cn_kick_on(u3_ci_molt(gat, u3_cv_sam, u3k(gen), 0));
|
2013-09-29 00:21:18 +04:00
|
|
|
}
|