mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Fixed vs2010 compilation errors.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8914 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -713,7 +713,7 @@ void HandleShowingOfEnemiesWithMilitiaOn( void )
|
||||
|
||||
INT32 GetMapColourForWeather(const INT16 sX, const INT16 sY)
|
||||
{
|
||||
const INT32 weatherColors[]{
|
||||
const INT32 weatherColors[] = {
|
||||
MAP_SHADE_BLACK,
|
||||
MAP_SHADE_LT_CYAN,
|
||||
MAP_SHADE_LT_BLUE,
|
||||
@@ -970,7 +970,7 @@ UINT32 DrawMap(void)
|
||||
// shade map sectors (must be done before icons!)
|
||||
if (!is_networked) //Don't shade anything if we're in multiplayer game
|
||||
{
|
||||
INT32 colorMap[ MAXIMUM_VALID_Y_COORDINATE ][ MAXIMUM_VALID_X_COORDINATE ]{};
|
||||
INT32 colorMap[ MAXIMUM_VALID_Y_COORDINATE ][ MAXIMUM_VALID_X_COORDINATE ] = {};
|
||||
|
||||
switch (gusMapDisplayColourMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user