view Cheat.c @ 53:b31bed246abd

fix code and add log.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Tue, 25 Jan 2011 17:43:30 +0900
parents
children
line wrap: on
line source

#include "Cheat.h"
#include "object.h"
#include "sgoex.h"
#include "count2.h"

void
cheat()
{
    if (pad[0].l2 > 0) {
        jiki.zanki++;
    }
    if (pad[0].r2 > 0) {
        jiki.muteki = 600;
    }
}