mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-20 06:09:51 +01:00
Fix debug print in PLNT causing lag
This commit is contained in:
parent
1237b49e37
commit
257fe6f61b
@ -48,12 +48,10 @@ Element_PLNT::Element_PLNT()
|
||||
Graphics = &Element_PLNT::graphics;
|
||||
}
|
||||
|
||||
#include <iostream>
|
||||
//#TPT-Directive ElementHeader Element_PLNT static int update(UPDATE_FUNC_ARGS)
|
||||
int Element_PLNT::update(UPDATE_FUNC_ARGS)
|
||||
{
|
||||
int r, rx, ry, np, rndstore;
|
||||
std::cout << PMAPBITS << ", " << PMAPMASK << std::endl;
|
||||
for (rx=-1; rx<2; rx++)
|
||||
for (ry=-1; ry<2; ry++)
|
||||
if (BOUNDS_CHECK && (rx || ry))
|
||||
|
Loading…
x
Reference in New Issue
Block a user