view spe/Bom.cc @ 70:cee55c8365e9 default tip

fix
author Kazuma
date Thu, 19 May 2016 18:52:26 +0900
parents 927401604461
children cfd42ee2ad28
line wrap: on
line source

#include "tobject.h"

void
Bom(int x, int y, int bomend, bomchar *bchar)
{
    int i;
    bomend++;
    if (bomend > 49) {
	bomend = 49;
	return;
    }

    i = bomend;
    bchar[i].x = x;
    bchar[i].y = y;
    bchar[i].no = 0;
    bchar[i].f = 0;
    return;
}