Fix debug print in PLNT causing lag

This commit is contained in:
jacob1 2018-02-12 00:09:35 -05:00 committed by GitHub
parent 1237b49e37
commit 257fe6f61b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))