mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-08 00:14:00 +02:00
Fix draw_other effects logic
This commit is contained in:
parent
0ed3ca771e
commit
8c6e7caaff
@ -1654,7 +1654,7 @@ void draw_other(pixel *vid) // EMP effect
|
||||
if (emp_decor>0 && !sys_pause) emp_decor-=emp_decor/25+2;
|
||||
if (emp_decor>40) emp_decor=40;
|
||||
if (emp_decor<0) emp_decor = 0;
|
||||
if (!(display_mode & display_mode == DISPLAY_EFFE)) // no in nothing mode
|
||||
if (!(display_mode & DISPLAY_EFFE)) // no in nothing mode
|
||||
return;
|
||||
if (emp_decor>0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user