1
0
forked from 0ad/0ad

Fixes MSVC warning about uninitialized playerId in Atlas entity pasting code (using 0 as a sensible default value), refs #96

This was SVN commit r15415.
This commit is contained in:
historic_bruno 2014-06-22 22:19:02 +00:00
parent 09637ea0cf
commit 600e8bd226

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2012 Wildfire Games.
/* Copyright (C) 2014 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -111,7 +111,7 @@ public:
{
wxString templateName;
Position entityPos;
long playerId;
long playerId = 0;
double orientation = 0;
const wxXmlNode* xmlData = child->GetChildren();