diff options
| author | Japa | 2010-07-31 03:06:53 +0000 |
|---|---|---|
| committer | Japa | 2010-07-31 03:06:53 +0000 |
| commit | 641040bc8f4322e4ba9e0417e8f148c9d102dc65 (patch) | |
| tree | e300cc2ecf5e45d75899101d14cbb7542ec702fd /Creatures.cpp | |
| parent | f4654513350d988342b68a79548d18381cd32b55 (diff) | |
| download | stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.gz stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.bz2 stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.xz | |
added the ability to set tiles according to the surroundings.
Diffstat (limited to 'Creatures.cpp')
| -rw-r--r-- | Creatures.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Creatures.cpp b/Creatures.cpp index 228a40d..3e1e351 100644 --- a/Creatures.cpp +++ b/Creatures.cpp @@ -463,6 +463,7 @@ CreatureConfiguration *GetCreatureConfig( t_creature* c ){ c_sprite* GetCreatureSpriteMap( t_creature* c )
{
static c_sprite * defaultSprite = new c_sprite;
+ defaultSprite->set_defaultsheet(IMGCreatureSheet);
CreatureConfiguration *testConfig = GetCreatureConfig( c );
if (testConfig == NULL)
return defaultSprite;
|
