Add missing CPos FromJSVal, ToJSVal following 659a9ea57a.

This was SVN commit r22573.
This commit is contained in:
elexis
2019-07-29 11:56:11 +00:00
parent 0a7d0ecdde
commit d6b93b3be6
5 changed files with 56 additions and 1 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2018 Wildfire Games.
/* Copyright (C) 2019 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -345,3 +345,6 @@ template<> bool ScriptInterface::FromJSVal<CVector2D>(JSContext* cx, JS::HandleV
return true;
}
#undef FAIL
#undef WARN_IF_NOT