[Orxonox-commit 3992] r8666 - code/branches/presentation/src/modules/notifications
dafrick at orxonox.net
dafrick at orxonox.net
Sun May 29 17:46:40 CEST 2011
Author: dafrick
Date: 2011-05-29 17:46:39 +0200 (Sun, 29 May 2011)
New Revision: 8666
Modified:
code/branches/presentation/src/modules/notifications/NotificationDispatcher.cc
Log:
Possible fix. Doesn't really address the issoe though.
Modified: code/branches/presentation/src/modules/notifications/NotificationDispatcher.cc
===================================================================
--- code/branches/presentation/src/modules/notifications/NotificationDispatcher.cc 2011-05-29 15:39:19 UTC (rev 8665)
+++ code/branches/presentation/src/modules/notifications/NotificationDispatcher.cc 2011-05-29 15:46:39 UTC (rev 8666)
@@ -167,7 +167,11 @@
return false;
}
- this->dispatch(player->getClientID());
+ // HACK fix. Resolve this issue another way...
+ if(GameMode::isStandalone())
+ this->dispatch(0);
+ else
+ this->dispatch(player->getClientID());
return true;
}
More information about the Orxonox-commit
mailing list