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:
parent
09637ea0cf
commit
600e8bd226
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user