Changeset 8634 for code/branches/tutoriallevel3/src/orxonox/interfaces
- Timestamp:
- May 28, 2011, 11:19:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutoriallevel3/src/orxonox/interfaces/NotificationListener.cc
r8453 r8634 82 82 else if(GameMode::isServer() && sendMode == notificationSendMode::network && Host::getPlayerID() != clientId) 83 83 { 84 callStaticNetworkFunction(NotificationListener::sendHelper, clientId, message, sender, (unsigned int)messageType);84 callStaticNetworkFunction(NotificationListener::sendHelper, clientId, message, sender, isCommand, (unsigned int)messageType); 85 85 } 86 86 else if(GameMode::isServer() && sendMode == notificationSendMode::broadcast) 87 87 { 88 88 // TODO: Works as intended? 89 callStaticNetworkFunction(NotificationListener::sendHelper, NETWORK_PEER_ID_BROADCAST, message, sender, (unsigned int)messageType);89 callStaticNetworkFunction(NotificationListener::sendHelper, NETWORK_PEER_ID_BROADCAST, message, sender, isCommand, (unsigned int)messageType); 90 90 } 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.