mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-30 15:13:12 -04:00
[apathy][PATCH] Cast jboolean to bool
This commit is contained in:
@@ -330,7 +330,7 @@ void JNICALL ScriptMethodsNewbieTutorialNamespace::newbieTutorialSendStartingLoc
|
||||
|
||||
typedef std::pair<std::string, bool> Payload;
|
||||
typedef MessageQueueGenericValueType<Payload> MessageType;
|
||||
MessageType * const message = new MessageType (Payload (name, result));
|
||||
MessageType * const message = new MessageType (Payload (name, (bool)result));
|
||||
sendMessageToPlayer (*player, message, CM_startingLocationSelectionResult);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user