diff options
| author | Petr Mrázek | 2011-08-07 01:35:28 +0000 |
|---|---|---|
| committer | Petr Mrázek | 2011-08-07 01:35:28 +0000 |
| commit | 4064cf25797462fc6ac61f578b7e4b6bd31bf6b6 (patch) | |
| tree | 1a1744e66471edd1948b02bf4627e87693f1685a /FluidConfiguration.cpp | |
| parent | d841ba0fee6e1f98e414c52dd07b44b981bc05fe (diff) | |
| download | stonesense-4064cf25797462fc6ac61f578b7e4b6bd31bf6b6.tar.gz stonesense-4064cf25797462fc6ac61f578b7e4b6bd31bf6b6.tar.bz2 stonesense-4064cf25797462fc6ac61f578b7e4b6bd31bf6b6.tar.xz | |
stonesense now doesn't crash while starting for the second time
Diffstat (limited to 'FluidConfiguration.cpp')
| -rw-r--r-- | FluidConfiguration.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/FluidConfiguration.cpp b/FluidConfiguration.cpp index 54a7cb7..f0ec454 100644 --- a/FluidConfiguration.cpp +++ b/FluidConfiguration.cpp @@ -52,18 +52,18 @@ void parseFluidElement( TiXmlElement* elemFluid, int basefile) if(type)
{
- if(contentLoader.lava[level-1].fluidset == 0)
+ if(contentLoader->lava[level-1].fluidset == 0)
{
- contentLoader.lava[level-1].sprite = tempSprite;
- contentLoader.lava[level-1].fluidset = 1;
+ contentLoader->lava[level-1].sprite = tempSprite;
+ contentLoader->lava[level-1].fluidset = 1;
}
}
else
{
- if(contentLoader.water[level-1].fluidset == 0)
+ if(contentLoader->water[level-1].fluidset == 0)
{
- contentLoader.water[level-1].sprite = tempSprite;
- contentLoader.water[level-1].fluidset = 1;
+ contentLoader->water[level-1].sprite = tempSprite;
+ contentLoader->water[level-1].fluidset = 1;
}
}
}
|
