small fixes regarding throwing pts around to python and back

This commit is contained in:
d1str4ught
2025-08-22 19:58:14 +02:00
parent 66bcca77c2
commit 5b71a1e352
20 changed files with 86 additions and 56 deletions

View File

@@ -1147,8 +1147,8 @@ PyObject * wndMgrSetSlot(PyObject * poSelf, PyObject * poArgs)
if (!PyTuple_GetInteger(poArgs, 4, &iHeight))
return Py_BuildException();
int iImageHandle;
if (!PyTuple_GetInteger(poArgs, 5, &iImageHandle))
unsigned long long iImageHandle;
if (!PyTuple_GetUnsignedLongLong(poArgs, 5, &iImageHandle))
return Py_BuildException();
D3DXCOLOR diffuseColor;