Clean-up Flash.cpp
This commit is contained in:
parent
826abb343f
commit
3bc95d875d
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ void ActFlash_Flash(void)
|
||||||
|
|
||||||
void ActFlash(int flx, int fly)
|
void ActFlash(int flx, int fly)
|
||||||
{
|
{
|
||||||
if (flash.flag == FALSE)
|
if (!flash.flag)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
switch (flash.mode)
|
switch (flash.mode)
|
||||||
|
@ -152,7 +152,7 @@ void ActFlash(int flx, int fly)
|
||||||
|
|
||||||
void PutFlash(void)
|
void PutFlash(void)
|
||||||
{
|
{
|
||||||
if (flash.flag == FALSE)
|
if (!flash.flag)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
CortBox(&flash.rect1, gFlashColor);
|
CortBox(&flash.rect1, gFlashColor);
|
||||||
|
|
Loading…
Add table
Reference in a new issue