Ignore:
Timestamp:
Aug 11, 2011, 8:44:09 AM (10 years ago)
Author:
sam
Message:

debug: only print the layer and map errors once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/layer.cpp

    r792 r810  
    4848void Layer::Render(int x, int y, int z)
    4949{
    50     Log::Error("FIXME: Layer::Render no longer works\n");
     50    static int error = 1;
     51    if (error && !(error = 0))
     52        Log::Error("FIXME: Layer::Render no longer works\n");
    5153#if 0
    5254    Scene *scene = Scene::GetDefault();
Note: See TracChangeset for help on using the changeset viewer.