Fix #1851, wrong type in multiplayer messages
See https://sourceforge.net/p/flightgear/codetickets/1851/ for details
This commit is contained in:
parent
1aa6482a59
commit
4f8cbbb204
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue