1
0
Fork 0

Fix #1851, wrong type in multiplayer messages

See https://sourceforge.net/p/flightgear/codetickets/1851/
for details
This commit is contained in:
Torsten Dreyer 2016-02-29 22:29:32 +01:00
parent 1aa6482a59
commit 4f8cbbb204

View file

@ -1168,7 +1168,7 @@ FGMultiplayMgr::Send()
for (it = mPropertyMap.begin(); it != mPropertyMap.end(); ++it) {
FGPropertyData* pData = new FGPropertyData;
pData->id = it->first;
pData->type = it->second->getType();
pData->type = findProperty(pData->id)->type;
switch (pData->type) {
case props::INT: