0

biomes=False now renders correctly again

Closes Issue #737
This commit is contained in:
Aaron Griffith
2012-05-16 10:15:38 -04:00
parent 19cdca39d8
commit f395a13d98
2 changed files with 4 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
// increment this value if you've made a change to the c extesion
// and want to force users to rebuild
#define OVERVIEWER_EXTENSION_VERSION 32
#define OVERVIEWER_EXTENSION_VERSION 33
/* Python PIL, and numpy headers */
#include <Python.h>

View File

@@ -250,6 +250,9 @@ base_draw(void *data, RenderState *state, PyObject *src, PyObject *mask, PyObjec
/* don't use biomes, just use the default */
temp = biome_table[DEFAULT_BIOME].temperature;
rain = biome_table[DEFAULT_BIOME].rainfall;
multr = biome_table[DEFAULT_BIOME].r;
multg = biome_table[DEFAULT_BIOME].g;
multb = biome_table[DEFAULT_BIOME].b;
}
/* second coordinate is actually scaled to fit inside the triangle