mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 11:12:37 +00:00
Fix layout errors and crash with Atlas terrain previews.
Fix warning. This was SVN commit r8103.
This commit is contained in:
@@ -230,7 +230,7 @@ namespace
|
||||
|
||||
template<> struct ToJSVal<bool>
|
||||
{
|
||||
static jsval Convert(JSContext* cx, const bool& val)
|
||||
static jsval Convert(JSContext* WXUNUSED(cx), const bool& val)
|
||||
{
|
||||
return val ? JSVAL_TRUE : JSVAL_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user