added support for ambient light

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4737 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-12-03 12:21:21 +00:00
parent cbec4bbf02
commit d1253d6394
5 changed files with 32 additions and 15 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ mapstats *loadmapstats(const char *filename, bool getlayout)
if(s.hdr.version>=4)
{
lilswap(&s.hdr.waterlevel, 1);
lilswap(&s.hdr.maprevision, 1);
lilswap(&s.hdr.maprevision, 2);
}
else s.hdr.waterlevel = -100000;
if(s.hdr.version<7)