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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user