diff options
| author | Japa Illo | 2012-03-08 09:37:54 +0530 |
|---|---|---|
| committer | Japa Illo | 2012-03-08 09:37:54 +0530 |
| commit | 96bbfa604d1835df993602cbf46ca6bb0a28e6bd (patch) | |
| tree | 38d46683531ef118bae33b244475e6203683c891 /MapLoading.cpp | |
| parent | 50bbecc544aa227fb7bfc4a5c90c6b27369d8bcd (diff) | |
| download | stonesense-96bbfa604d1835df993602cbf46ca6bb0a28e6bd.tar.gz stonesense-96bbfa604d1835df993602cbf46ca6bb0a28e6bd.tar.bz2 stonesense-96bbfa604d1835df993602cbf46ca6bb0a28e6bd.tar.xz | |
Got rid of some warnings, cleaned up the sprite drawing routine, and added ability to select sprites according to individual items.
Todo: add ability to have a sprite according to just the item class.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'MapLoading.cpp')
| -rw-r--r-- | MapLoading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MapLoading.cpp b/MapLoading.cpp index 89a9bac..1fd62f1 100644 --- a/MapLoading.cpp +++ b/MapLoading.cpp @@ -302,7 +302,7 @@ void ReadCellToSegment(DFHack::Core& DF, WorldSegment& segment, int CellX, int C {
b->mudlevel = level;
}
- else if(splatter[i]->mat_type == MAT_BASICS::ICE)
+ else if(splatter[i]->mat_type == ICE)
{
b->snowlevel = level;
}
|
