mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +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)
|
INT32 GetMapColourForWeather(const INT16 sX, const INT16 sY)
|
||||||
{
|
{
|
||||||
const INT32 weatherColors[]{
|
const INT32 weatherColors[] = {
|
||||||
MAP_SHADE_BLACK,
|
MAP_SHADE_BLACK,
|
||||||
MAP_SHADE_LT_CYAN,
|
MAP_SHADE_LT_CYAN,
|
||||||
MAP_SHADE_LT_BLUE,
|
MAP_SHADE_LT_BLUE,
|
||||||
@@ -970,7 +970,7 @@ UINT32 DrawMap(void)
|
|||||||
// shade map sectors (must be done before icons!)
|
// shade map sectors (must be done before icons!)
|
||||||
if (!is_networked) //Don't shade anything if we're in multiplayer game
|
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)
|
switch (gusMapDisplayColourMode)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2691,7 +2691,7 @@ BOOLEAN DrawCTHIndicator()
|
|||||||
|
|
||||||
/////////////////////////////////////////
|
/////////////////////////////////////////
|
||||||
// Load image STI for CTH indicator only once during gameplay. This prevents us from constantly loading and unloading the file from disk.
|
// Load image STI for CTH indicator only once during gameplay. This prevents us from constantly loading and unloading the file from disk.
|
||||||
static UINT32 guiCTHImage{ 0 };
|
static UINT32 guiCTHImage = { 0 };
|
||||||
if (guiCTHImage == 0)
|
if (guiCTHImage == 0)
|
||||||
{
|
{
|
||||||
VOBJECT_DESC VObjectDesc;
|
VOBJECT_DESC VObjectDesc;
|
||||||
|
|||||||
Reference in New Issue
Block a user